comparison src/share/vm/prims/jvmtiTagMap.cpp @ 20278:2c6ef90f030a

8049421: G1 Class Unloading after completing a concurrent mark cycle Reviewed-by: tschatzl, ehelin, brutisso, coleenp, roland, iveresov Contributed-by: stefan.karlsson@oracle.com, mikael.gerdin@oracle.com
author stefank
date Mon, 07 Jul 2014 10:12:40 +0200
parents 190899198332
children 7848fc12602b 9686a796c829
comparison
equal deleted inserted replaced
20277:882004b9e7e1 20278:2c6ef90f030a
3015 blk.set_kind(JVMTI_HEAP_REFERENCE_OTHER); 3015 blk.set_kind(JVMTI_HEAP_REFERENCE_OTHER);
3016 Universe::oops_do(&blk); 3016 Universe::oops_do(&blk);
3017 3017
3018 // If there are any non-perm roots in the code cache, visit them. 3018 // If there are any non-perm roots in the code cache, visit them.
3019 blk.set_kind(JVMTI_HEAP_REFERENCE_OTHER); 3019 blk.set_kind(JVMTI_HEAP_REFERENCE_OTHER);
3020 CodeBlobToOopClosure look_in_blobs(&blk, false); 3020 CodeBlobToOopClosure look_in_blobs(&blk, !CodeBlobToOopClosure::FixRelocations);
3021 CodeCache::scavenge_root_nmethods_do(&look_in_blobs); 3021 CodeCache::scavenge_root_nmethods_do(&look_in_blobs);
3022 3022
3023 return true; 3023 return true;
3024 } 3024 }
3025 3025