Class GcNames


  • public class GcNames
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String OLD  
      static java.lang.String SURVIVOR  
      static java.lang.String YOUNG  
    • Constructor Summary

      Constructors 
      Constructor Description
      GcNames()  
    • Method Summary

      Modifier and Type Method Description
      static java.lang.String getByGcName​(java.lang.String gcName, java.lang.String defaultName)  
      static java.lang.String getByMemoryPoolName​(java.lang.String poolName, java.lang.String defaultName)
      Resolves the GC type by its memory pool name (MemoryPoolMXBean.getName().
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GcNames

        public GcNames()
    • Method Detail

      • getByMemoryPoolName

        public static java.lang.String getByMemoryPoolName​(java.lang.String poolName,
                                                           java.lang.String defaultName)
        Resolves the GC type by its memory pool name (MemoryPoolMXBean.getName().
      • getByGcName

        public static java.lang.String getByGcName​(java.lang.String gcName,
                                                   java.lang.String defaultName)