comparison src/share/vm/services/nmtCommon.hpp @ 9038:4b8584c24ff4

8215934: G1 Old Gen MemoryPool CollectionUsage.used values don't reflect mixed GC results Summary: Memory pools can now be optional collection participants, e.g., G1 Old Gen in an incremental collection. Reviewed-by: tschatzl, jcbeyler, andrew
author phh
date Mon, 28 Jan 2019 17:51:10 +0000
parents 833b0f92429a
children
comparison
equal deleted inserted replaced
0:182cf6d2eba5 1:a34649649793
48 48
49 // Number of stack frames to capture. This is a 49 // Number of stack frames to capture. This is a
50 // build time decision. 50 // build time decision.
51 const int NMT_TrackingStackDepth = 4; 51 const int NMT_TrackingStackDepth = 4;
52 52
53 class NativeCallStack;
54 extern NativeCallStack emptyStack;
55
56 // A few common utilities for native memory tracking 53 // A few common utilities for native memory tracking
57 class NMTUtil : AllStatic { 54 class NMTUtil : AllStatic {
58 public: 55 public:
59 // Map memory type to index 56 // Map memory type to index
60 static inline int flag_to_index(MEMFLAGS flag) { 57 static inline int flag_to_index(MEMFLAGS flag) {