--- a/src/hotspot/share/code/nmethod.cpp Wed Apr 18 10:03:49 2018 -0700
+++ b/src/hotspot/share/code/nmethod.cpp Wed Apr 18 13:37:39 2018 -0400
@@ -1365,7 +1365,7 @@
}
// During GC the is_alive closure is non-NULL, and is used to
// determine liveness of dependees that need to be updated.
- if (is_alive == NULL || klass->is_loader_alive(is_alive)) {
+ if (is_alive == NULL || klass->is_loader_alive()) {
// The GC defers deletion of this entry, since there might be multiple threads
// iterating over the _dependencies graph. Other call paths are single-threaded
// and may delete it immediately.