Class GlobalFlagSafePointStrategy
java.lang.Object
org.qbicc.plugin.gc.common.safepoint.AbstractSafePointStrategy
org.qbicc.plugin.gc.common.safepoint.AbstractMethodBasedSafePointStrategy
org.qbicc.plugin.gc.common.safepoint.GlobalFlagSafePointStrategy
A safepoint polling strategy which uses a single global flag field to indicate that a safepoint should be entered.
-
Field Summary
Fields inherited from class org.qbicc.plugin.gc.common.safepoint.AbstractSafePointStrategy
ctxt -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidImplement the method which clears a global safepoint request.voidvoidImplement the method which requests a global safepoint.Methods inherited from class org.qbicc.plugin.gc.common.safepoint.AbstractMethodBasedSafePointStrategy
forEachSafePointMethod, safePointMethods inherited from class org.qbicc.plugin.gc.common.safepoint.AbstractSafePointStrategy
registerReachableMethods
-
Constructor Details
-
GlobalFlagSafePointStrategy
-
-
Method Details
-
implementRequestGlobalSafePoint
Description copied from class:AbstractSafePointStrategyImplement the method which requests a global safepoint. The implementation must not throw any exception, poll for a safepoint, or call any method that may do either.- Specified by:
implementRequestGlobalSafePointin classAbstractSafePointStrategy- Parameters:
bbb- the block builder (notnull)
-
implementClearGlobalSafePoint
Description copied from class:AbstractSafePointStrategyImplement the method which clears a global safepoint request. The implementation must not throw any exception, poll for a safepoint, or call any method that may do either.- Specified by:
implementClearGlobalSafePointin classAbstractSafePointStrategy- Parameters:
bbb- the block builder (notnull)
-
implementPollSafePoint
- Specified by:
implementPollSafePointin classAbstractMethodBasedSafePointStrategy
-