< prev index next >

src/hotspot/share/memory/allocation.hpp

Print this page




 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;
 154 
 155 
 156 #if INCLUDE_NMT
 157 
 158 extern bool NMT_track_callsite;
 159 
 160 #else
 161 
 162 const bool NMT_track_callsite = false;
 163 
 164 #endif // INCLUDE_NMT
 165 
 166 class NativeCallStack;
 167 
 168 




 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   mtValueTypes,        // memory for buffered value types
 150   mt_number_of_types   // number of memory types (mtDontTrack
 151                        // is not included as validate type)
 152 };
 153 
 154 typedef MemoryType MEMFLAGS;
 155 
 156 
 157 #if INCLUDE_NMT
 158 
 159 extern bool NMT_track_callsite;
 160 
 161 #else
 162 
 163 const bool NMT_track_callsite = false;
 164 
 165 #endif // INCLUDE_NMT
 166 
 167 class NativeCallStack;
 168 
 169 


< prev index next >