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 |