118 JvmtiExport::oops_do(&mark_and_push_closure); |
118 JvmtiExport::oops_do(&mark_and_push_closure); |
119 break; |
119 break; |
120 |
120 |
121 case system_dictionary: |
121 case system_dictionary: |
122 SystemDictionary::always_strong_oops_do(&mark_and_push_closure); |
122 SystemDictionary::always_strong_oops_do(&mark_and_push_closure); |
|
123 break; |
|
124 |
|
125 case class_loader_data: |
123 ClassLoaderDataGraph::always_strong_oops_do(&mark_and_push_closure, &follow_klass_closure, true); |
126 ClassLoaderDataGraph::always_strong_oops_do(&mark_and_push_closure, &follow_klass_closure, true); |
124 break; |
127 break; |
125 |
128 |
126 case code_cache: |
129 case code_cache: |
127 // Do not treat nmethods as strong roots for mark/sweep, since we can unload them. |
130 // Do not treat nmethods as strong roots for mark/sweep, since we can unload them. |