mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +02:00
8179040: Avoid Ticks::now calls when EventClassLoad is not enabled
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com> Reviewed-by: ehelin, mgronlun, dholmes, iklam
This commit is contained in:
parent
437d3f2c3b
commit
52f9c55e24
6 changed files with 30 additions and 73 deletions
|
@ -1407,7 +1407,6 @@ ObjectMonitor* ObjectSynchronizer::inflate(Thread * Self,
|
|||
assert(inf->header()->is_neutral(), "invariant");
|
||||
assert(inf->object() == object, "invariant");
|
||||
assert(ObjectSynchronizer::verify_objmon_isinpool(inf), "monitor is invalid");
|
||||
event.cancel(); // let's not post an inflation event, unless we did the deed ourselves
|
||||
return inf;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue