Class JVMCompilationStatsProvider


  • @AMXMetadata(type="compilation-system-mon",
                 group="monitoring")
    @ManagedObject
    @Description("JVM Compilation Statistics")
    public class JVMCompilationStatsProvider
    extends Object
    Provides the MBean for JVM compilation statistics

    The MBean will be of the format amx:pp=/mon/server-mon[server],type=compilation-system-mon,name=jvm/compilation-system and can be enabled by turning the Jvm monitoring level in the admin console to LOW

    Since:
    v2
    • Constructor Detail

      • JVMCompilationStatsProvider

        public JVMCompilationStatsProvider()
    • Method Detail

      • getCompilerName

        @ManagedAttribute(id="name-current")
        @Description("name of the Just-in-time (JIT) compiler")
        public org.glassfish.external.statistics.StringStatistic getCompilerName()
        Gets the name of the Just-in-time (JIT) compiler
        Returns:
        a StringStatistic with the compiler name
      • getTotalCompilationTime

        @ManagedAttribute(id="totalcompilationtime-current")
        @Description("approximate accumlated elapsed time (in milliseconds) spent in compilation")
        public org.glassfish.external.statistics.CountStatistic getTotalCompilationTime()
        Gets the approximate accumulated elapsed time spent in compilation
        Returns:
        a StringStatistic with the elapsed time in milliseconds