--- old/src/hotspot/os_cpu/windows_x86/thread_windows_x86.cpp 2017-10-30 04:05:24.271387796 -0700 +++ new/src/hotspot/os_cpu/windows_x86/thread_windows_x86.cpp 2017-10-30 04:05:23.917354946 -0700 @@ -81,7 +81,7 @@ frame ret_frame(ret_sp, ret_fp, addr.pc()); if (!ret_frame.safe_for_sender(jt)) { -#if defined(COMPILER2) || INCLUDE_JVMCI +#if COMPILER2_OR_JVMCI // C2 and JVMCI use ebp as a general register see if NULL fp helps frame ret_frame2(ret_sp, NULL, addr.pc()); if (!ret_frame2.safe_for_sender(jt)) { @@ -92,7 +92,7 @@ #else // nothing else to try if the frame isn't good return false; -#endif /* COMPILER2 || INCLUDE_JVMCI */ +#endif // COMPILER2_OR_JVMCI } *fr_addr = ret_frame; return true;