Mercurial > hg > graal-compiler
comparison src/share/vm/oops/constMethodKlass.cpp @ 3899:c124e2e7463e
7083786: dead various dead chunks of code
Reviewed-by: iveresov, kvn
author | never |
---|---|
date | Wed, 31 Aug 2011 16:46:11 -0700 |
parents | e5383553fd4e |
children | 2fe087c3e814 |
comparison
equal
deleted
inserted
replaced
3898:a64d352d1118 | 3899:c124e2e7463e |
---|---|
170 } | 170 } |
171 | 171 |
172 int constMethodKlass::oop_update_pointers(ParCompactionManager* cm, oop obj) { | 172 int constMethodKlass::oop_update_pointers(ParCompactionManager* cm, oop obj) { |
173 assert(obj->is_constMethod(), "should be constMethod"); | 173 assert(obj->is_constMethod(), "should be constMethod"); |
174 constMethodOop cm_oop = constMethodOop(obj); | 174 constMethodOop cm_oop = constMethodOop(obj); |
175 #if 0 | |
176 PSParallelCompact::adjust_pointer(cm_oop->adr_method()); | |
177 PSParallelCompact::adjust_pointer(cm_oop->adr_exception_table()); | |
178 PSParallelCompact::adjust_pointer(cm_oop->adr_stackmap_data()); | |
179 #endif | |
180 oop* const beg_oop = cm_oop->oop_block_beg(); | 175 oop* const beg_oop = cm_oop->oop_block_beg(); |
181 oop* const end_oop = cm_oop->oop_block_end(); | 176 oop* const end_oop = cm_oop->oop_block_end(); |
182 for (oop* cur_oop = beg_oop; cur_oop < end_oop; ++cur_oop) { | 177 for (oop* cur_oop = beg_oop; cur_oop < end_oop; ++cur_oop) { |
183 PSParallelCompact::adjust_pointer(cur_oop); | 178 PSParallelCompact::adjust_pointer(cur_oop); |
184 } | 179 } |