mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +02:00
8252980: comment only changes extracted from JDK-8247281
Reviewed-by: iklam, dholmes
This commit is contained in:
parent
433394203d
commit
f9339616e1
2 changed files with 7 additions and 10 deletions
|
@ -706,9 +706,6 @@ void ObjectMonitor::EnterI(TRAPS) {
|
|||
|
||||
assert(_owner == Self, "invariant");
|
||||
assert(object() != NULL, "invariant");
|
||||
// I'd like to write:
|
||||
// guarantee (((oop)(object()))->mark() == markWord::encode(this), "invariant") ;
|
||||
// but as we're at a safepoint that's not safe.
|
||||
|
||||
UnlinkAfterAcquire(Self, &node);
|
||||
if (_succ == Self) _succ = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue