mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 09:34:38 +02:00
8238174: migrate ObjectMonitor::_owner field away from C++ volatile semantics
Reviewed-by: dholmes, mdoerr
This commit is contained in:
parent
50a2c22ff7
commit
1707d5ca3c
4 changed files with 48 additions and 42 deletions
|
@ -341,7 +341,7 @@ bool ObjectSynchronizer::quick_enter(oop obj, Thread* self,
|
|||
if (m->object_peek() == NULL) {
|
||||
return false;
|
||||
}
|
||||
Thread* const owner = (Thread *) m->_owner;
|
||||
Thread* const owner = (Thread *) m->owner_raw();
|
||||
|
||||
// Lock contention and Transactional Lock Elision (TLE) diagnostics
|
||||
// and observability
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue