< prev index next >
src/os_cpu/windows_x86/vm/thread_windows_x86.cpp
Print this page
@@ -71,17 +71,15 @@
if (addr.pc() == NULL || ret_sp == NULL ) {
// CONTEXT wasn't useful
return false;
}
-#if INCLUDE_CDS
- if (UseSharedSpaces && MetaspaceShared::is_in_shared_region(addr.pc(), MetaspaceShared::md)) {
+ if (MetaspaceShared::is_in_trampoline_frame(addr.pc())) {
// In the middle of a trampoline call. Bail out for safety.
// This happens rarely so shouldn't affect profiling.
return false;
}
-#endif
frame ret_frame(ret_sp, ret_fp, addr.pc());
if (!ret_frame.safe_for_sender(jt)) {
#if defined(COMPILER2) || INCLUDE_JVMCI
// C2 and JVMCI use ebp as a general register see if NULL fp helps
< prev index next >