< prev index next >

src/hotspot/share/memory/allocation.hpp

Print this page




 127   f(mtClassShared,   "Shared class space")      /* class data sharing            */ \
 128   f(mtChunk,         "Arena Chunk") /* chunk that holds content of arenas        */ \
 129   f(mtTest,          "Test")        /* Test type for verifying NMT               */ \
 130   f(mtTracing,       "Tracing")                                                     \
 131   f(mtLogging,       "Logging")                                                     \
 132   f(mtArguments,     "Arguments")                                                   \
 133   f(mtModule,        "Module")                                                      \
 134   f(mtSafepoint,     "Safepoint")                                                   \
 135   f(mtSynchronizer,  "Synchronization")                                             \
 136   f(mtNone,          "Unknown")                                                     \
 137   //end
 138 
 139 #define MEMORY_TYPE_DECLARE_ENUM(type, human_readable) \
 140   type,
 141 
 142 /*
 143  * Memory types
 144  */
 145 enum MemoryType {
 146   MEMORY_TYPES_DO(MEMORY_TYPE_DECLARE_ENUM)

 147   mt_number_of_types   // number of memory types (mtDontTrack
 148                        // is not included as validate type)
 149 };
 150 
 151 typedef MemoryType MEMFLAGS;
 152 
 153 
 154 #if INCLUDE_NMT
 155 
 156 extern bool NMT_track_callsite;
 157 
 158 #else
 159 
 160 const bool NMT_track_callsite = false;
 161 
 162 #endif // INCLUDE_NMT
 163 
 164 class NativeCallStack;
 165 
 166 




 127   f(mtClassShared,   "Shared class space")      /* class data sharing            */ \
 128   f(mtChunk,         "Arena Chunk") /* chunk that holds content of arenas        */ \
 129   f(mtTest,          "Test")        /* Test type for verifying NMT               */ \
 130   f(mtTracing,       "Tracing")                                                     \
 131   f(mtLogging,       "Logging")                                                     \
 132   f(mtArguments,     "Arguments")                                                   \
 133   f(mtModule,        "Module")                                                      \
 134   f(mtSafepoint,     "Safepoint")                                                   \
 135   f(mtSynchronizer,  "Synchronization")                                             \
 136   f(mtNone,          "Unknown")                                                     \
 137   //end
 138 
 139 #define MEMORY_TYPE_DECLARE_ENUM(type, human_readable) \
 140   type,
 141 
 142 /*
 143  * Memory types
 144  */
 145 enum MemoryType {
 146   MEMORY_TYPES_DO(MEMORY_TYPE_DECLARE_ENUM)
 147   mtValueTypes,        // memory for buffered value types
 148   mt_number_of_types   // number of memory types (mtDontTrack
 149                        // is not included as validate type)
 150 };
 151 
 152 typedef MemoryType MEMFLAGS;
 153 
 154 
 155 #if INCLUDE_NMT
 156 
 157 extern bool NMT_track_callsite;
 158 
 159 #else
 160 
 161 const bool NMT_track_callsite = false;
 162 
 163 #endif // INCLUDE_NMT
 164 
 165 class NativeCallStack;
 166 
 167 


< prev index next >