8238174: migrate ObjectMonitor::_owner field away from C++ volatile semantics

Reviewed-by: dholmes, mdoerr
This commit is contained in:
Daniel D. Daugherty 2020-11-18 16:48:17 +00:00
parent 50a2c22ff7
commit 1707d5ca3c
4 changed files with 48 additions and 42 deletions

View file

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