Needed for concurrent class unloading. Make ExceptionCache return NULL if the klass is unloading and verify all access has ExceptionCache_lock held. Cleanup is during a safepoint or concurrently with the ExceptionCache_lock held.
Shouldn't ExceptionCache function definitions be in CompiledMethod.cpp and not in nmethod.cpp ?
Shouldn't ExceptionCache function definitions be in CompiledMethod.cpp and not in nmethod.cpp ?
- relates to
-
JDK-8212958 Allow Klass::_subklass and _next_sibling to have unloaded classes
- Resolved