Class AbstractMethodBasedSafePointStrategy
java.lang.Object
org.qbicc.plugin.gc.common.safepoint.AbstractSafePointStrategy
org.qbicc.plugin.gc.common.safepoint.AbstractMethodBasedSafePointStrategy
- Direct Known Subclasses:
GlobalFlagSafePointStrategy
The base class for safepoint strategies which use a method call to poll for a safepoint.
-
Field Summary
Fields inherited from class org.qbicc.plugin.gc.common.safepoint.AbstractSafePointStrategy
ctxt -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstruct a new instance. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidforEachSafePointMethod(Consumer<String> consumer) abstract voidvoidImplement theSafePointnode.Methods inherited from class org.qbicc.plugin.gc.common.safepoint.AbstractSafePointStrategy
implementClearGlobalSafePoint, implementRequestGlobalSafePoint, registerReachableMethods
-
Constructor Details
-
AbstractMethodBasedSafePointStrategy
Construct a new instance. The constructor should inject any additional fields or methods needed to implement the strategy.- Parameters:
ctxt- the compilation context
-
-
Method Details
-
forEachSafePointMethod
- Overrides:
forEachSafePointMethodin classAbstractSafePointStrategy
-
safePoint
Description copied from class:AbstractSafePointStrategyImplement theSafePointnode. This method is called during lowering to implement the actual action of a safepoint poll.- Specified by:
safePointin classAbstractSafePointStrategy- Parameters:
bbb- the block builder (notnull)
-
implementPollSafePoint
-