Class AstContinuation
java.lang.Object
thc.runtime.AstContinuation
- All Implemented Interfaces:
SavedGuestContinuation
One owned activation; ordinary AST calls neither allocate this nor materialize frames.
-
Constructor Summary
ConstructorsConstructorDescriptionAstContinuation(GuestRoot root, Object yielded, MaskingState mask, com.oracle.truffle.api.frame.MaterializedFrame frame, List<AstResumeStep> steps, StackAnnotationState annotations) AstContinuation(GuestRoot root, Object yielded, MaskingState mask, com.oracle.truffle.api.frame.MaterializedFrame frame, List<AstResumeStep> steps, StackAnnotationState annotations, boolean rootEntrySpill, boolean tailSpill) -
Method Summary
Modifier and TypeMethodDescriptionvoidcontinueWith(Object input) voiddiscard()Terminally discard this activation's own pending work, without recursively disposing shared children retained by thunk/call owners.booleanbooleanvoidrebaseTailBloom(long liveOwners) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface SavedGuestContinuation
asyncRequest, stackSpill
-
Constructor Details
-
AstContinuation
public AstContinuation(GuestRoot root, Object yielded, MaskingState mask, com.oracle.truffle.api.frame.MaterializedFrame frame, List<AstResumeStep> steps, StackAnnotationState annotations) -
AstContinuation
public AstContinuation(GuestRoot root, Object yielded, MaskingState mask, com.oracle.truffle.api.frame.MaterializedFrame frame, List<AstResumeStep> steps, StackAnnotationState annotations, boolean rootEntrySpill, boolean tailSpill)
-
-
Method Details
-
getSourceRoot
- Specified by:
getSourceRootin interfaceSavedGuestContinuation
-
getYielded
- Specified by:
getYieldedin interfaceSavedGuestContinuation
-
getIdentity
- Specified by:
getIdentityin interfaceSavedGuestContinuation
-
getRootEntrySpill
-
getTailSpill
-
certifyTailEntry
-
rebaseTailBloom
-
discard
Description copied from interface:SavedGuestContinuationTerminally discard this activation's own pending work, without recursively disposing shared children retained by thunk/call owners.- Specified by:
discardin interfaceSavedGuestContinuation
-
continueWith
- Specified by:
continueWithin interfaceSavedGuestContinuation
-