diff --git a/src/hotspot/share/code/codeCache.cpp b/src/hotspot/share/code/codeCache.cpp index f202522..7d943d2 100644 --- a/src/hotspot/share/code/codeCache.cpp +++ b/src/hotspot/share/code/codeCache.cpp @@ -946,12 +946,12 @@ CodeCache::UnloadingScope::UnloadingScope(BoolObjectClosure* is_alive) { IsUnloadingBehaviour::set_current(&_is_unloading_behaviour); increment_unloading_cycle(); - DependencyContext::gc_prologue(); + DependencyContext::cleaning_start(); } CodeCache::UnloadingScope::~UnloadingScope() { IsUnloadingBehaviour::set_current(NULL); - DependencyContext::gc_epilogue(); + DependencyContext::cleaning_end(); } void CodeCache::verify_oops() {