Class JvmInfo

    • Method Detail

      • jvmInfo

        public static JvmInfo jvmInfo()
      • pid

        public long pid()
        The process id.
      • getPid

        public long getPid()
        The process id.
      • version

        public String version()
      • getVersion

        public String getVersion()
      • versionAsInteger

        public int versionAsInteger()
      • versionUpdatePack

        public int versionUpdatePack()
      • getVmName

        public String getVmName()
      • getVmVersion

        public String getVmVersion()
      • getVmVendor

        public String getVmVendor()
      • getBundledJdk

        public boolean getBundledJdk()
      • getUsingBundledJdk

        public Boolean getUsingBundledJdk()
      • getStartTime

        public long getStartTime()
      • getInputArguments

        public String[] getInputArguments()
      • getBootClassPath

        public String getBootClassPath()
      • getClassPath

        public String getClassPath()
      • getConfiguredInitialHeapSize

        public long getConfiguredInitialHeapSize()
      • getConfiguredMaxHeapSize

        public long getConfiguredMaxHeapSize()
      • onError

        public String onError()
      • onOutOfMemoryError

        public String onOutOfMemoryError()
      • useCompressedOops

        public String useCompressedOops()
        The value of the JVM flag UseCompressedOops, if available otherwise "unknown". The value "unknown" indicates that an attempt was made to obtain the value of the flag on this JVM and the attempt failed.
        Returns:
        the value of the JVM flag UseCompressedOops or "unknown"
      • useG1GC

        public String useG1GC()
      • useSerialGC

        public String useSerialGC()
      • getGcCollectors

        public String[] getGcCollectors()
      • getMemoryPools

        public String[] getMemoryPools()