Class VMUtils

java.lang.Object
host.anzo.commons.utils.VMUtils

public class VMUtils extends Object
  • Field Details

    • DEBUG

      public static boolean DEBUG
  • Constructor Details

    • VMUtils

      public VMUtils()
  • Method Details

    • getBean

      public static HotSpotDiagnosticMXBean getBean()
    • getVMOption

      public static VMOption getVMOption(String optionName)
    • getDirectBufferFreeMemory

      public static long getDirectBufferFreeMemory()
    • getByteBufferPool

      @Nullable public static @Nullable BufferPoolMXBean getByteBufferPool(boolean isDirect)
    • getByteBufferPools

      public static List<BufferPoolMXBean> getByteBufferPools()