diff 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
line wrap: on
line diff
--- a/src/share/vm/utilities/nativeCallStack.hpp	Thu Aug 14 09:02:51 2014 -0400
+++ b/src/share/vm/utilities/nativeCallStack.hpp	Tue Aug 19 08:34:25 2014 -0400
@@ -52,6 +52,9 @@
  *    from it.
  */
 class NativeCallStack : public StackObj {
+ public:
+  static const NativeCallStack EMPTY_STACK;
+
  private:
   address   _stack[NMT_TrackingStackDepth];
   int       _hash_value;