equal
deleted
inserted
replaced
456 if (run_verification && VerifyGCLevel <= 0 && VerifyBeforeGC) { |
456 if (run_verification && VerifyGCLevel <= 0 && VerifyBeforeGC) { |
457 prepare_for_verify(); |
457 prepare_for_verify(); |
458 prepared_for_verification = true; |
458 prepared_for_verification = true; |
459 } |
459 } |
460 |
460 |
461 assert(!_young_gen->performs_in_place_marking(), "No young generation do in place marking"); |
|
462 collect_generation(_young_gen, |
461 collect_generation(_young_gen, |
463 full, |
462 full, |
464 size, |
463 size, |
465 is_tlab, |
464 is_tlab, |
466 run_verification && VerifyGCLevel <= 0, |
465 run_verification && VerifyGCLevel <= 0, |
486 |
485 |
487 if (!prepared_for_verification && run_verification && |
486 if (!prepared_for_verification && run_verification && |
488 VerifyGCLevel <= 1 && VerifyBeforeGC) { |
487 VerifyGCLevel <= 1 && VerifyBeforeGC) { |
489 prepare_for_verify(); |
488 prepare_for_verify(); |
490 } |
489 } |
491 |
|
492 assert(_old_gen->performs_in_place_marking(), "All old generations do in place marking"); |
|
493 |
490 |
494 if (do_young_collection) { |
491 if (do_young_collection) { |
495 // We did a young GC. Need a new GC id for the old GC. |
492 // We did a young GC. Need a new GC id for the old GC. |
496 GCIdMarkAndRestore gc_id_mark; |
493 GCIdMarkAndRestore gc_id_mark; |
497 GCTraceTime(Info, gc) t("Pause Full", NULL, gc_cause(), true); |
494 GCTraceTime(Info, gc) t("Pause Full", NULL, gc_cause(), true); |