diff --git a/src/hotspot/os_cpu/linux_x86/os_linux_x86.cpp b/src/hotspot/os_cpu/linux_x86/os_linux_x86.cpp index ee08738c678..6750b71476b 100644 --- a/src/hotspot/os_cpu/linux_x86/os_linux_x86.cpp +++ b/src/hotspot/os_cpu/linux_x86/os_linux_x86.cpp @@ -81,7 +81,7 @@ #define SPELL_REG_SP "rsp" #define SPELL_REG_FP "rbp" -address os::current_stack_pointer() { +NOINLINE address os::current_stack_pointer() { return (address)__builtin_frame_address(0); }