Mercurial > hg > truffle
diff src/share/vm/oops/methodData.cpp @ 9783:5402504894fe
Merge.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Tue, 21 May 2013 19:51:00 +0200 |
parents | 2461285a2f90 |
children | 836a62f43af9 |
line wrap: on
line diff
--- a/src/share/vm/oops/methodData.cpp Tue May 21 19:43:53 2013 +0200 +++ b/src/share/vm/oops/methodData.cpp Tue May 21 19:51:00 2013 +0200 @@ -168,6 +168,18 @@ } } +#ifdef GRAAL +void VirtualCallData::clean_weak_klass_links(BoolObjectClosure* is_alive_cl) { + ReceiverTypeData::clean_weak_klass_links(is_alive_cl); + for (uint row = 0; row < method_row_limit(); row++) { + Method* p = method(row); + if (p != NULL && !p->method_holder()->is_loader_alive(is_alive_cl)) { + clear_method_row(row); + } + } +} +#endif // GRAAL + #ifndef PRODUCT void ReceiverTypeData::print_receiver_data_on(outputStream* st) { uint row;