Class Safepoint
java.lang.Object
org.jenkinsci.plugins.workflow.cps.ThreadTask
org.jenkinsci.plugins.workflow.cps.Safepoint
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public class Safepoint
extends ThreadTask
Safepoint called from the CPS interpreter.
- Author:
- Kohsuke Kawaguchi
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ThreadTaskResult
static void
Method called from CPS interpreter.
-
Constructor Details
-
Safepoint
public Safepoint()
-
-
Method Details
-
safepoint
public static void safepoint()Method called from CPS interpreter. Suspend the execution to yield CPS VM thread to other activities. -
eval
- Specified by:
eval
in classThreadTask
- Parameters:
cur
- the current thread that requested this task.
-