< prev index next >

src/hotspot/share/prims/stackwalk.cpp

Print this page

        

*** 27,37 **** #include "classfile/javaClasses.inline.hpp" #include "classfile/vmSymbols.hpp" #include "logging/log.hpp" #include "logging/logStream.hpp" #include "memory/oopFactory.hpp" - #include "memory/universe.hpp" #include "oops/oop.inline.hpp" #include "oops/objArrayOop.inline.hpp" #include "prims/stackwalk.hpp" #include "runtime/globals.hpp" #include "runtime/handles.inline.hpp" --- 27,36 ----
*** 150,161 **** if (!need_method_info(mode) && get_caller_class(mode) && index == start_index && method->caller_sensitive()) { ResourceMark rm(THREAD); THROW_MSG_0(vmSymbols::java_lang_UnsupportedOperationException(), ! err_msg("StackWalker::getCallerClass called from @CallerSensitive '%s' method", ! method->external_name())); } // fill in StackFrameInfo and initialize MemberName stream.fill_frame(index, frames_array, method, CHECK_0); if (++frames_decoded >= max_nframes) break; } --- 149,160 ---- if (!need_method_info(mode) && get_caller_class(mode) && index == start_index && method->caller_sensitive()) { ResourceMark rm(THREAD); THROW_MSG_0(vmSymbols::java_lang_UnsupportedOperationException(), ! err_msg("StackWalker::getCallerClass called from @CallerSensitive %s method", ! method->name_and_sig_as_C_string())); } // fill in StackFrameInfo and initialize MemberName stream.fill_frame(index, frames_array, method, CHECK_0); if (++frames_decoded >= max_nframes) break; }
< prev index next >