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 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

      protected ThreadTaskResult eval(CpsThread cur)
      Specified by:
      eval in class ThreadTask
      Parameters:
      cur - the current thread that requested this task.