< prev index next > src/hotspot/share/gc/shenandoah/shenandoahUtils.hpp
Print this page
public:
ShenandoahTimingsTracker(ShenandoahPhaseTimings::Phase phase, bool should_aggregate = false);
~ShenandoahTimingsTracker();
- static ShenandoahPhaseTimings::Phase current_phase() { return _current_phase; }
+ static ShenandoahPhaseTimings::Phase current_phase() {
+ assert(is_current_phase_valid(), "Current phase is not valid");
+ return _current_phase;
+ }
static bool is_current_phase_valid();
};
/*
VM_Operation::VMOp_Type type = vm_op->type();
return type == VM_Operation::VMOp_ShenandoahInitMark ||
type == VM_Operation::VMOp_ShenandoahFinalMarkStartEvac ||
type == VM_Operation::VMOp_ShenandoahInitUpdateRefs ||
type == VM_Operation::VMOp_ShenandoahFinalUpdateRefs ||
- type == VM_Operation::VMOp_ShenandoahFinalVerify ||
+ type == VM_Operation::VMOp_ShenandoahFinalRoots ||
type == VM_Operation::VMOp_ShenandoahFullGC ||
type == VM_Operation::VMOp_ShenandoahDegeneratedGC;
}
};
< prev index next >