Mercurial > hg > truffle
comparison src/share/vm/utilities/nativeCallStack.cpp @ 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 |
---|---|
25 #include "precompiled.hpp" | 25 #include "precompiled.hpp" |
26 #include "runtime/os.hpp" | 26 #include "runtime/os.hpp" |
27 #include "utilities/globalDefinitions.hpp" | 27 #include "utilities/globalDefinitions.hpp" |
28 #include "utilities/nativeCallStack.hpp" | 28 #include "utilities/nativeCallStack.hpp" |
29 | 29 |
30 const NativeCallStack NativeCallStack::EMPTY_STACK(0, false); | |
30 | 31 |
31 NativeCallStack::NativeCallStack(int toSkip, bool fillStack) : | 32 NativeCallStack::NativeCallStack(int toSkip, bool fillStack) : |
32 _hash_value(0) { | 33 _hash_value(0) { |
33 | 34 |
34 #if !PLATFORM_NATIVE_STACK_WALKING_SUPPORTED | 35 #if !PLATFORM_NATIVE_STACK_WALKING_SUPPORTED |