@@ -251,33 +251,33 @@ class ZVerifyNMethodClosure : public NMethodClosure {
251
251
}
252
252
};
253
253
254
- void ZVerify::roots_concurrent_strong (bool verify_fixed) {
254
+ void ZVerify::roots_strong (bool verify_fixed) {
255
255
ZVerifyRootClosure cl (verify_fixed);
256
256
ZVerifyCLDClosure cld_cl (&cl);
257
257
ZVerifyThreadClosure thread_cl (&cl);
258
258
ZVerifyNMethodClosure nm_cl (&cl, verify_fixed);
259
259
260
- ZConcurrentRootsIterator iter (ClassLoaderData::_claim_none);
260
+ ZRootsIterator iter (ClassLoaderData::_claim_none);
261
261
iter.apply (&cl,
262
262
&cld_cl,
263
263
&thread_cl,
264
264
&nm_cl);
265
265
}
266
266
267
- void ZVerify::roots_concurrent_weak () {
267
+ void ZVerify::roots_weak () {
268
268
ZVerifyRootClosure cl (true /* verify_fixed */ );
269
- ZConcurrentWeakRootsIterator iter;
269
+ ZWeakRootsIterator iter;
270
270
iter.apply (&cl);
271
271
}
272
272
273
- void ZVerify::roots (bool verify_concurrent_strong , bool verify_weaks) {
273
+ void ZVerify::roots (bool verify_strong , bool verify_weaks) {
274
274
assert (SafepointSynchronize::is_at_safepoint (), " Must be at a safepoint" );
275
275
assert (!ZResurrection::is_blocked (), " Invalid phase" );
276
276
277
277
if (ZVerifyRoots) {
278
- roots_concurrent_strong (verify_concurrent_strong );
278
+ roots_strong (verify_strong );
279
279
if (verify_weaks) {
280
- roots_concurrent_weak ();
280
+ roots_weak ();
281
281
}
282
282
}
283
283
}
@@ -294,27 +294,27 @@ void ZVerify::objects(bool verify_weaks) {
294
294
}
295
295
}
296
296
297
- void ZVerify::roots_and_objects (bool verify_concurrent_strong , bool verify_weaks) {
298
- roots (verify_concurrent_strong , verify_weaks);
297
+ void ZVerify::roots_and_objects (bool verify_strong , bool verify_weaks) {
298
+ roots (verify_strong , verify_weaks);
299
299
objects (verify_weaks);
300
300
}
301
301
302
302
void ZVerify::before_zoperation () {
303
303
// Verify strong roots
304
304
ZStatTimerDisable disable;
305
- roots (false /* verify_concurrent_strong */ , false /* verify_weaks */ );
305
+ roots (false /* verify_strong */ , false /* verify_weaks */ );
306
306
}
307
307
308
308
void ZVerify::after_mark () {
309
309
// Verify all strong roots and strong references
310
310
ZStatTimerDisable disable;
311
- roots_and_objects (true /* verify_concurrent_strong */ , false /* verify_weaks */ );
311
+ roots_and_objects (true /* verify_strong */ , false /* verify_weaks */ );
312
312
}
313
313
314
314
void ZVerify::after_weak_processing () {
315
315
// Verify all roots and all references
316
316
ZStatTimerDisable disable;
317
- roots_and_objects (true /* verify_concurrent_strong */ , true /* verify_weaks */ );
317
+ roots_and_objects (true /* verify_strong */ , true /* verify_weaks */ );
318
318
}
319
319
320
320
template <bool Map>
0 commit comments