All current GCs perform code cache unloading in safepoints. Therefore, nmethods that are alive but is_unloading() are never observed outside of safepoints. With concurrent class unloading, nmethods that are alive but is_unloading() will become observable outside of safepoints. This must be handled appropriately.
- duplicates
-
JDK-8213484 Allow is_unloading() nmethods to be observed outside of safepoints
-
- Closed
-