Module java.base

Class QuickStart


  • public class QuickStart
    extends Object
    • Field Detail

      • cachePath

        protected static String cachePath
      • vmOptionsInProfileStage

        protected static String[] vmOptionsInProfileStage
      • classPathInProfileStage

        protected static String classPathInProfileStage
    • Constructor Detail

      • QuickStart

        public QuickStart()
    • Method Detail

      • setServerlessAdapter

        public static void setServerlessAdapter​(String serverlessAdapter)
      • getServerlessAdapter

        public static String getServerlessAdapter()
      • isVerbose

        public static boolean isVerbose()
      • isNormal

        public static boolean isNormal()
        Detect whether this Java process is a normal one. Has the same semantics as VM level `!QuickStart::is_enabled()`
        Returns:
        true if this Java process is a normal process.
      • isTracer

        public static boolean isTracer()
        Detect whether this Java process is a tracer. Has the same semantics as VM level `QuickStart::is_tracer()`
        Returns:
        true if this Java process is a tracer.
      • isReplayer

        public static boolean isReplayer()
        Detect whether this Java process is a replayer. Has the same semantics as VM level `QuickStart::is_replayer()`
        Returns:
        true if this Java process is replayer.
      • isDumper

        public static boolean isDumper()
      • cachePath

        public static String cachePath()
      • getVmOptionsInProfileStage

        public static String[] getVmOptionsInProfileStage()
      • getClassPathInProfileStage

        public static String getClassPathInProfileStage()
      • addDumpHook

        public static void addDumpHook​(Runnable runnable)
      • notifyDump

        public static void notifyDump()