Displaying 3 results from an estimated 3 matches for "empty_stack".
2018 Sep 12
2
OpenJDK8 failed to work after compiled by LLVM 8 for X86
...and optimization settings, it is just luck. :-)
>
> Here is a reduced example, which shows the issue:
>
> ======================================================================
> #include <new>
>
> class NativeCallStack {
> public:
> static const NativeCallStack EMPTY_STACK;
>
> private:
> enum { DEPTH = 4 };
> void* stack[DEPTH];
>
> public:
> NativeCallStack() {
> for (int i = 0; i < DEPTH; ++i) {
> stack[i] = nullptr;
> }
> }
> };
>
> const NativeCallStack NativeCallStack::EMPTY_STACK;
>
&...
2018 Sep 11
3
OpenJDK8 failed to work after compiled by LLVM 8 for X86
...tack(int,+0> mov eax, esi
>> ─────────[ source:/home/xiangzhai/project/jdk8u-llvm/hotspot/src/share/vm/utilities/nativeCallStack.cpp+33 ]────
>> 28 #include "utilities/nativeCallStack.hpp"
>> 29
>> 30 const NativeCallStack NativeCallStack::EMPTY_STACK(0, false);
>> 31
>> 32 NativeCallStack::NativeCallStack(int toSkip, bool fillStack) :
>> → 33 _hash_value(0) {
>> 34
>> 35 #if !PLATFORM_NATIVE_STACK_WALKING_SUPPORTED
>> 36 fillStack = false;
>> 37 #endif
&g...
2018 Sep 10
2
OpenJDK8 failed to work after compiled by LLVM 8 for X86
...d <NativeCallStack::NativeCallStack(int,+0> mov eax, esi
─────────[
source:/home/xiangzhai/project/jdk8u-llvm/hotspot/src/share/vm/utilities/nativeCallStack.cpp+33
]────
28 #include "utilities/nativeCallStack.hpp"
29
30 const NativeCallStack NativeCallStack::EMPTY_STACK(0, false);
31
32 NativeCallStack::NativeCallStack(int toSkip, bool fillStack) :
→ 33 _hash_value(0) {
34
35 #if !PLATFORM_NATIVE_STACK_WALKING_SUPPORTED
36 fillStack = false;
37 #endif
38
────────────────────────────────────────────────────────...