src/share/vm/runtime/frame.cpp

Print this page
rev 5917 : imported patch cldclosure

*** 893,903 **** int size = asc.size(); return (oop *)interpreter_frame_tos_at(size); } ! void frame::oops_interpreted_do(OopClosure* f, CLDToOopClosure* cld_f, const RegisterMap* map, bool query_oop_map_cache) { assert(is_interpreted_frame(), "Not an interpreted frame"); assert(map != NULL, "map must be set"); Thread *thread = Thread::current(); methodHandle m (thread, interpreter_frame_method()); --- 893,903 ---- int size = asc.size(); return (oop *)interpreter_frame_tos_at(size); } ! void frame::oops_interpreted_do(OopClosure* f, CLDClosure* cld_f, const RegisterMap* map, bool query_oop_map_cache) { assert(is_interpreted_frame(), "Not an interpreted frame"); assert(map != NULL, "map must be set"); Thread *thread = Thread::current(); methodHandle m (thread, interpreter_frame_method());
*** 1144,1154 **** // Traverse the Handle Block saved in the entry frame entry_frame_call_wrapper()->oops_do(f); } ! void frame::oops_do_internal(OopClosure* f, CLDToOopClosure* cld_f, CodeBlobClosure* cf, RegisterMap* map, bool use_interpreter_oop_map_cache) { #ifndef PRODUCT // simulate GC crash here to dump java thread in error report if (CrashGCForDumpingJavaThread) { char *t = NULL; *t = 'c'; --- 1144,1154 ---- // Traverse the Handle Block saved in the entry frame entry_frame_call_wrapper()->oops_do(f); } ! void frame::oops_do_internal(OopClosure* f, CLDClosure* cld_f, CodeBlobClosure* cf, RegisterMap* map, bool use_interpreter_oop_map_cache) { #ifndef PRODUCT // simulate GC crash here to dump java thread in error report if (CrashGCForDumpingJavaThread) { char *t = NULL; *t = 'c';