-
Bug
-
Resolution: Fixed
-
P3
-
16
-
b26
Nightly tests revealed a deadlock after JDK-8256415.
The new concurrent code root evacuating/updating task sets up EvacOOM scope on the top level. If OOM occurs and nmethod_entry_barrier holds per-nmethod lock, while concurrent code root evacuating/updating task tries to acquire the exact per-nmethod lock, we deadlock.
The solution is to move EvacOOM scope under per-nmethod lock.
The new concurrent code root evacuating/updating task sets up EvacOOM scope on the top level. If OOM occurs and nmethod_entry_barrier holds per-nmethod lock, while concurrent code root evacuating/updating task tries to acquire the exact per-nmethod lock, we deadlock.
The solution is to move EvacOOM scope under per-nmethod lock.
- relates to
-
JDK-8256415 Shenandoah: Should evacuate/update codecache concurrently when class unloading is off
-
- Resolved
-