Mercurial > hg > truffle
comparison src/share/vm/runtime/frame.cpp @ 14483:be0ac0e8f6e7
8035393: Use CLDClosure instead of CLDToOopClosure in frame::oops_interpreted_do
Reviewed-by: tschatzl, coleenp
author | stefank |
---|---|
date | Fri, 21 Feb 2014 10:01:20 +0100 |
parents | 63a4eb8bcd23 |
children | f460c6926af7 |
comparison
equal
deleted
inserted
replaced
14470:f6490a5f084a | 14483:be0ac0e8f6e7 |
---|---|
893 int size = asc.size(); | 893 int size = asc.size(); |
894 return (oop *)interpreter_frame_tos_at(size); | 894 return (oop *)interpreter_frame_tos_at(size); |
895 } | 895 } |
896 | 896 |
897 | 897 |
898 void frame::oops_interpreted_do(OopClosure* f, CLDToOopClosure* cld_f, | 898 void frame::oops_interpreted_do(OopClosure* f, CLDClosure* cld_f, |
899 const RegisterMap* map, bool query_oop_map_cache) { | 899 const RegisterMap* map, bool query_oop_map_cache) { |
900 assert(is_interpreted_frame(), "Not an interpreted frame"); | 900 assert(is_interpreted_frame(), "Not an interpreted frame"); |
901 assert(map != NULL, "map must be set"); | 901 assert(map != NULL, "map must be set"); |
902 Thread *thread = Thread::current(); | 902 Thread *thread = Thread::current(); |
903 methodHandle m (thread, interpreter_frame_method()); | 903 methodHandle m (thread, interpreter_frame_method()); |
1144 // Traverse the Handle Block saved in the entry frame | 1144 // Traverse the Handle Block saved in the entry frame |
1145 entry_frame_call_wrapper()->oops_do(f); | 1145 entry_frame_call_wrapper()->oops_do(f); |
1146 } | 1146 } |
1147 | 1147 |
1148 | 1148 |
1149 void frame::oops_do_internal(OopClosure* f, CLDToOopClosure* cld_f, CodeBlobClosure* cf, RegisterMap* map, bool use_interpreter_oop_map_cache) { | 1149 void frame::oops_do_internal(OopClosure* f, CLDClosure* cld_f, CodeBlobClosure* cf, RegisterMap* map, bool use_interpreter_oop_map_cache) { |
1150 #ifndef PRODUCT | 1150 #ifndef PRODUCT |
1151 // simulate GC crash here to dump java thread in error report | 1151 // simulate GC crash here to dump java thread in error report |
1152 if (CrashGCForDumpingJavaThread) { | 1152 if (CrashGCForDumpingJavaThread) { |
1153 char *t = NULL; | 1153 char *t = NULL; |
1154 *t = 'c'; | 1154 *t = 'c'; |