< prev index next >

src/hotspot/share/code/codeCache.cpp


*** 944,959 **** CodeCache::UnloadingScope::UnloadingScope(BoolObjectClosure* is_alive) : _is_unloading_behaviour(is_alive) { IsUnloadingBehaviour::set_current(&_is_unloading_behaviour); increment_unloading_cycle(); ! DependencyContext::gc_prologue(); } CodeCache::UnloadingScope::~UnloadingScope() { IsUnloadingBehaviour::set_current(NULL); ! DependencyContext::gc_epilogue(); } void CodeCache::verify_oops() { MutexLockerEx mu(CodeCache_lock, Mutex::_no_safepoint_check_flag); VerifyOopClosure voc; --- 944,959 ---- CodeCache::UnloadingScope::UnloadingScope(BoolObjectClosure* is_alive) : _is_unloading_behaviour(is_alive) { IsUnloadingBehaviour::set_current(&_is_unloading_behaviour); increment_unloading_cycle(); ! DependencyContext::cleaning_start(); } CodeCache::UnloadingScope::~UnloadingScope() { IsUnloadingBehaviour::set_current(NULL); ! DependencyContext::cleaning_end(); } void CodeCache::verify_oops() { MutexLockerEx mu(CodeCache_lock, Mutex::_no_safepoint_check_flag); VerifyOopClosure voc;
< prev index next >