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:
Rainer Orth 2003-10-23 21:48:36 +00:00 committed by Rainer Orth
parent c7d91a943b
commit 59407b8361
2 changed files with 6 additions and 1 deletions

View File

@ -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:

View File

@ -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