OpenJDK / amber / amber
changeset 55358:fce463e39f72
8220342: Remove scavenge_root_nmethods_do from VM_HeapWalkOperation::collect_simple_roots
Reviewed-by: sspitsyn, ehelin
author | stefank |
---|---|
date | Thu, 14 Mar 2019 09:14:20 +0100 |
parents | 677cede5608e |
children | 4b1426ed1c44 |
files | src/hotspot/share/prims/jvmtiTagMap.cpp |
diffstat | 1 files changed, 0 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/hotspot/share/prims/jvmtiTagMap.cpp Thu Mar 14 09:08:17 2019 +0100 +++ b/src/hotspot/share/prims/jvmtiTagMap.cpp Thu Mar 14 09:14:20 2019 +0100 @@ -28,7 +28,6 @@ #include "classfile/symbolTable.hpp" #include "classfile/systemDictionary.hpp" #include "classfile/vmSymbols.hpp" -#include "code/codeCache.hpp" #include "jvmtifiles/jvmtiEnv.hpp" #include "logging/log.hpp" #include "memory/allocation.inline.hpp" @@ -3044,11 +3043,6 @@ blk.set_kind(JVMTI_HEAP_REFERENCE_OTHER); Universe::oops_do(&blk); - // If there are any non-perm roots in the code cache, visit them. - blk.set_kind(JVMTI_HEAP_REFERENCE_OTHER); - CodeBlobToOopClosure look_in_blobs(&blk, !CodeBlobToOopClosure::FixRelocations); - CodeCache::scavenge_root_nmethods_do(&look_in_blobs); - return true; }