comparison src/share/vm/utilities/nativeCallStack.hpp @ 20364:c6211b707068

8055007: NMT2: emptyStack missing in minimal build Summary: Refactored emptyStack to a static member of NativeCallStack, which is accessible in minimal build. Reviewed-by: coleenp, dholmes
author zgu
date Tue, 19 Aug 2014 08:34:25 -0400
parents 833b0f92429a
children
comparison
equal deleted inserted replaced
20363:36c9011aaead 20364:c6211b707068
50 * memory tracking. 50 * memory tracking.
51 * 2. The class is strict stack object, no heap or virtual memory can be allocated 51 * 2. The class is strict stack object, no heap or virtual memory can be allocated
52 * from it. 52 * from it.
53 */ 53 */
54 class NativeCallStack : public StackObj { 54 class NativeCallStack : public StackObj {
55 public:
56 static const NativeCallStack EMPTY_STACK;
57
55 private: 58 private:
56 address _stack[NMT_TrackingStackDepth]; 59 address _stack[NMT_TrackingStackDepth];
57 int _hash_value; 60 int _hash_value;
58 61
59 public: 62 public: