< prev index next >
src/hotspot/share/gc/shenandoah/shenandoahUtils.hpp
Print this page
rev 57589 : 8237632: Shenandoah fails some vmTestbase_nsk_jvmti tests with "Forwardee must point to a heap address"
@@ -94,32 +94,10 @@
public:
ShenandoahAllocTrace(size_t words_size, ShenandoahAllocRequest::Type alloc_type);
~ShenandoahAllocTrace();
};
-class ShenandoahSafepoint : public AllStatic {
-public:
- // check if Shenandoah GC safepoint is in progress
- static inline bool is_at_shenandoah_safepoint() {
- if (!SafepointSynchronize::is_at_safepoint()) return false;
-
- VM_Operation* vm_op = VMThread::vm_operation();
- if (vm_op == NULL) return false;
-
- VM_Operation::VMOp_Type type = vm_op->type();
- return type == VM_Operation::VMOp_ShenandoahInitMark ||
- type == VM_Operation::VMOp_ShenandoahFinalMarkStartEvac ||
- type == VM_Operation::VMOp_ShenandoahFinalEvac ||
- type == VM_Operation::VMOp_ShenandoahInitTraversalGC ||
- type == VM_Operation::VMOp_ShenandoahFinalTraversalGC ||
- type == VM_Operation::VMOp_ShenandoahInitUpdateRefs ||
- type == VM_Operation::VMOp_ShenandoahFinalUpdateRefs ||
- type == VM_Operation::VMOp_ShenandoahFullGC ||
- type == VM_Operation::VMOp_ShenandoahDegeneratedGC;
- }
-};
-
class ShenandoahWorkerSession : public StackObj {
protected:
uint _worker_id;
ShenandoahWorkerSession(uint worker_id);
< prev index next >