< prev index next >

src/hotspot/share/memory/allocation.hpp

Print this page




 113   /* Memory type by sub systems. It occupies lower byte. */  \
 114   f(mtJavaHeap,      "Java Heap")   /* Java heap                                 */ \
 115   f(mtClass,         "Class")       /* Java classes                              */ \
 116   f(mtThread,        "Thread")      /* thread objects                            */ \
 117   f(mtThreadStack,   "Thread Stack")                                                \
 118   f(mtCode,          "Code")        /* generated code                            */ \
 119   f(mtGC,            "GC")                                                          \
 120   f(mtCompiler,      "Compiler")                                                    \
 121   f(mtJVMCI,         "JVMCI")                                                       \
 122   f(mtInternal,      "Internal")    /* memory used by VM, but does not belong to */ \
 123                                     /* any of above categories, and not used by  */ \
 124                                     /* NMT                                       */ \
 125   f(mtOther,         "Other")       /* memory not used by VM                     */ \
 126   f(mtSymbol,        "Symbol")                                                      \
 127   f(mtNMT,           "Native Memory Tracking")  /* memory used by NMT            */ \
 128   f(mtClassShared,   "Shared class space")      /* class data sharing            */ \
 129   f(mtChunk,         "Arena Chunk") /* chunk that holds content of arenas        */ \
 130   f(mtTest,          "Test")        /* Test type for verifying NMT               */ \
 131   f(mtTracing,       "Tracing")                                                     \
 132   f(mtLogging,       "Logging")                                                     \

 133   f(mtArguments,     "Arguments")                                                   \
 134   f(mtModule,        "Module")                                                      \
 135   f(mtSafepoint,     "Safepoint")                                                   \
 136   f(mtSynchronizer,  "Synchronization")                                             \
 137   f(mtNone,          "Unknown")                                                     \
 138   //end
 139 
 140 #define MEMORY_TYPE_DECLARE_ENUM(type, human_readable) \
 141   type,
 142 
 143 /*
 144  * Memory types
 145  */
 146 enum MemoryType {
 147   MEMORY_TYPES_DO(MEMORY_TYPE_DECLARE_ENUM)
 148   mt_number_of_types   // number of memory types (mtDontTrack
 149                        // is not included as validate type)
 150 };
 151 
 152 typedef MemoryType MEMFLAGS;




 113   /* Memory type by sub systems. It occupies lower byte. */  \
 114   f(mtJavaHeap,      "Java Heap")   /* Java heap                                 */ \
 115   f(mtClass,         "Class")       /* Java classes                              */ \
 116   f(mtThread,        "Thread")      /* thread objects                            */ \
 117   f(mtThreadStack,   "Thread Stack")                                                \
 118   f(mtCode,          "Code")        /* generated code                            */ \
 119   f(mtGC,            "GC")                                                          \
 120   f(mtCompiler,      "Compiler")                                                    \
 121   f(mtJVMCI,         "JVMCI")                                                       \
 122   f(mtInternal,      "Internal")    /* memory used by VM, but does not belong to */ \
 123                                     /* any of above categories, and not used by  */ \
 124                                     /* NMT                                       */ \
 125   f(mtOther,         "Other")       /* memory not used by VM                     */ \
 126   f(mtSymbol,        "Symbol")                                                      \
 127   f(mtNMT,           "Native Memory Tracking")  /* memory used by NMT            */ \
 128   f(mtClassShared,   "Shared class space")      /* class data sharing            */ \
 129   f(mtChunk,         "Arena Chunk") /* chunk that holds content of arenas        */ \
 130   f(mtTest,          "Test")        /* Test type for verifying NMT               */ \
 131   f(mtTracing,       "Tracing")                                                     \
 132   f(mtLogging,       "Logging")                                                     \
 133   f(mtStatistics,    "Statistics")                                                  \
 134   f(mtArguments,     "Arguments")                                                   \
 135   f(mtModule,        "Module")                                                      \
 136   f(mtSafepoint,     "Safepoint")                                                   \
 137   f(mtSynchronizer,  "Synchronization")                                             \
 138   f(mtNone,          "Unknown")                                                     \
 139   //end
 140 
 141 #define MEMORY_TYPE_DECLARE_ENUM(type, human_readable) \
 142   type,
 143 
 144 /*
 145  * Memory types
 146  */
 147 enum MemoryType {
 148   MEMORY_TYPES_DO(MEMORY_TYPE_DECLARE_ENUM)
 149   mt_number_of_types   // number of memory types (mtDontTrack
 150                        // is not included as validate type)
 151 };
 152 
 153 typedef MemoryType MEMFLAGS;


< prev index next >