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
2 changed files with 6 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue