Mercurial > hg > graal-compiler
comparison src/share/vm/oops/methodData.cpp @ 9762:57e5211846f9
Added class unloading support to the method profiling infrastructure.
author | Christian Haeubl <haeubl@ssw.jku.at> |
---|---|
date | Fri, 17 May 2013 17:24:03 +0200 |
parents | 89e4d67fdd2a |
children | 2461285a2f90 |
comparison
equal
deleted
inserted
replaced
9761:b1e4aebbd19e | 9762:57e5211846f9 |
---|---|
196 } | 196 } |
197 void VirtualCallData::print_data_on(outputStream* st) { | 197 void VirtualCallData::print_data_on(outputStream* st) { |
198 print_shared(st, "VirtualCallData"); | 198 print_shared(st, "VirtualCallData"); |
199 print_receiver_data_on(st); | 199 print_receiver_data_on(st); |
200 } | 200 } |
201 | |
202 #ifdef GRAAL | |
203 void VirtualCallData::clean_weak_klass_links(BoolObjectClosure* is_alive_cl) { | |
204 ReceiverTypeData::clean_weak_klass_links(is_alive_cl); | |
205 for (uint row = 0; row < method_row_limit(); row++) { | |
206 Method* p = method(row); | |
207 if (p != NULL && !p->method_holder()->is_loader_alive(is_alive_cl)) { | |
208 clear_method_row(row); | |
209 } | |
210 } | |
211 } | |
212 #endif // GRAAL | |
201 #endif // !PRODUCT | 213 #endif // !PRODUCT |
202 | 214 |
203 // ================================================================== | 215 // ================================================================== |
204 // RetData | 216 // RetData |
205 // | 217 // |