1 /* |
1 /* |
2 * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
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 NativeCallStack NativeCallStack::EMPTY_STACK(0, false); |
31 |
31 |
32 NativeCallStack::NativeCallStack(int toSkip, bool fillStack) : |
32 NativeCallStack::NativeCallStack(int toSkip, bool fillStack) : |
33 _hash_value(0) { |
33 _hash_value(0) { |
34 |
34 |
35 #if !PLATFORM_NATIVE_STACK_WALKING_SUPPORTED |
35 #if !PLATFORM_NATIVE_STACK_WALKING_SUPPORTED |