equal
deleted
inserted
replaced
115 } |
115 } |
116 break; |
116 break; |
117 |
117 |
118 case code_cache: |
118 case code_cache: |
119 // Do not treat nmethods as strong roots for mark/sweep, since we can unload them. |
119 // Do not treat nmethods as strong roots for mark/sweep, since we can unload them. |
120 //CodeCache::scavenge_root_nmethods_do(CodeBlobToOopClosure(&mark_and_push_closure)); |
120 //ScavengableNMethods::scavengable_nmethods_do(CodeBlobToOopClosure(&mark_and_push_closure)); |
121 AOTLoader::oops_do(&mark_and_push_closure); |
121 AOTLoader::oops_do(&mark_and_push_closure); |
122 break; |
122 break; |
123 |
123 |
124 default: |
124 default: |
125 fatal("Unknown root type"); |
125 fatal("Unknown root type"); |