equal
deleted
inserted
replaced
2143 set_evacuation_in_progress(false); |
2143 set_evacuation_in_progress(false); |
2144 |
2144 |
2145 retire_and_reset_gclabs(); |
2145 retire_and_reset_gclabs(); |
2146 |
2146 |
2147 if (ShenandoahVerify) { |
2147 if (ShenandoahVerify) { |
|
2148 if (!is_degenerated_gc_in_progress()) { |
|
2149 verifier()->verify_roots_no_forwarded_except(ShenandoahRootVerifier::ThreadRoots); |
|
2150 } |
2148 verifier()->verify_before_updaterefs(); |
2151 verifier()->verify_before_updaterefs(); |
2149 } |
2152 } |
2150 |
2153 |
2151 set_update_refs_in_progress(true); |
2154 set_update_refs_in_progress(true); |
2152 make_parsable(true); |
2155 make_parsable(true); |
2179 // everything. On degenerated paths, cancelled gc would not be set anyway. |
2182 // everything. On degenerated paths, cancelled gc would not be set anyway. |
2180 if (cancelled_gc()) { |
2183 if (cancelled_gc()) { |
2181 clear_cancelled_gc(); |
2184 clear_cancelled_gc(); |
2182 } |
2185 } |
2183 assert(!cancelled_gc(), "Should have been done right before"); |
2186 assert(!cancelled_gc(), "Should have been done right before"); |
|
2187 |
|
2188 if (ShenandoahVerify && !is_degenerated_gc_in_progress()) { |
|
2189 verifier()->verify_roots_no_forwarded_except(ShenandoahRootVerifier::ThreadRoots); |
|
2190 } |
2184 |
2191 |
2185 concurrent_mark()->update_roots(is_degenerated_gc_in_progress() ? |
2192 concurrent_mark()->update_roots(is_degenerated_gc_in_progress() ? |
2186 ShenandoahPhaseTimings::degen_gc_update_roots: |
2193 ShenandoahPhaseTimings::degen_gc_update_roots: |
2187 ShenandoahPhaseTimings::final_update_refs_roots); |
2194 ShenandoahPhaseTimings::final_update_refs_roots); |
2188 |
2195 |