mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-05 08:19:40 +08:00
natObject.cc (_Jv_ObjectCheckMonitor): Use _Jv_MutexCheckMonitor instead of accessing mutex.owner directly.
* java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use _Jv_MutexCheckMonitor instead of accessing mutex.owner directly. From-SVN: r72872
This commit is contained in:
parent
c7d91a943b
commit
59407b8361
@ -1,3 +1,8 @@
|
||||
2003-10-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
|
||||
|
||||
* java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use
|
||||
_Jv_MutexCheckMonitor instead of accessing mutex.owner directly.
|
||||
|
||||
2003-10-22 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
PR libgcj/12416:
|
||||
|
@ -1127,7 +1127,7 @@ retry:
|
||||
else
|
||||
{
|
||||
heavy_lock* hl = find_heavy(addr, he);
|
||||
not_mine = hl ? (hl->si.mutex.owner != self) : true;
|
||||
not_mine = hl ? _Jv_MutexCheckMonitor(&hl->si.mutex) : true;
|
||||
}
|
||||
|
||||
release_set(&(he -> address), address); // unlock hash entry
|
||||
|
Loading…
Reference in New Issue
Block a user