< prev index next >
src/hotspot/share/gc/shenandoah/shenandoahMarkCompact.cpp
Print this page
rev 50076 : Fold Partial GC into Traversal GC
*** 34,44 ****
#include "gc/shenandoah/shenandoahMarkCompact.hpp"
#include "gc/shenandoah/shenandoahBarrierSet.hpp"
#include "gc/shenandoah/shenandoahHeapRegionSet.hpp"
#include "gc/shenandoah/shenandoahHeap.hpp"
#include "gc/shenandoah/shenandoahHeap.inline.hpp"
- #include "gc/shenandoah/shenandoahPartialGC.hpp"
#include "gc/shenandoah/shenandoahRootProcessor.hpp"
#include "gc/shenandoah/shenandoahTraversalGC.hpp"
#include "gc/shenandoah/shenandoahUtils.hpp"
#include "gc/shenandoah/shenandoahVerifier.hpp"
#include "gc/shenandoah/shenandoahWorkerPolicy.hpp"
--- 34,43 ----
*** 127,142 ****
if (heap->is_update_refs_in_progress()) {
heap->set_update_refs_in_progress(false);
}
assert(!heap->is_update_refs_in_progress(), "sanity");
- // a3. Cancel concurrent partial GC, if in progress
- if (heap->is_concurrent_partial_in_progress()) {
- heap->partial_gc()->reset();
- heap->set_concurrent_partial_in_progress(false);
- }
-
// a3. Cancel concurrent traversal GC, if in progress
if (heap->is_concurrent_traversal_in_progress()) {
heap->traversal_gc()->reset();
heap->set_concurrent_traversal_in_progress(false);
}
--- 126,135 ----
< prev index next >