comparison src/share/vm/memory/sharedHeap.cpp @ 8769:be4d5c6c1f79

8010121: Remove definition of ShouldNotReachHere2(msg) Reviewed-by: kvn, stefank, rbackman, twisti Contributed-by: niclas.adlertz@oracle.com
author neliasso
date Tue, 19 Mar 2013 10:31:16 +0100
parents d0aa87f04bd5
children a08c80e9e1e5
comparison
equal deleted inserted replaced
8768:578d9044c463 8769:be4d5c6c1f79
176 ClassLoaderDataGraph::oops_do(roots, klass_closure, !is_scavenging); 176 ClassLoaderDataGraph::oops_do(roots, klass_closure, !is_scavenging);
177 } else if (so & SO_SystemClasses) { 177 } else if (so & SO_SystemClasses) {
178 SystemDictionary::always_strong_oops_do(roots); 178 SystemDictionary::always_strong_oops_do(roots);
179 ClassLoaderDataGraph::always_strong_oops_do(roots, klass_closure, !is_scavenging); 179 ClassLoaderDataGraph::always_strong_oops_do(roots, klass_closure, !is_scavenging);
180 } else { 180 } else {
181 ShouldNotReachHere2("We should always have selected either SO_AllClasses or SO_SystemClasses"); 181 fatal("We should always have selected either SO_AllClasses or SO_SystemClasses");
182 } 182 }
183 } 183 }
184 184
185 if (!_process_strong_tasks->is_task_claimed(SH_PS_StringTable_oops_do)) { 185 if (!_process_strong_tasks->is_task_claimed(SH_PS_StringTable_oops_do)) {
186 if (so & SO_Strings) { 186 if (so & SO_Strings) {