Mercurial > hg > truffle
diff src/share/vm/oops/instanceKlass.cpp @ 17728:b8413a9cbb84
8031752: Failed speculative optimizations should be reattempted when root of compilation is different
Summary: support for speculative traps that keep track of the root of the compilation in which a trap occurs.
Reviewed-by: kvn, twisti
author | roland |
---|---|
date | Tue, 25 Feb 2014 18:16:24 +0100 |
parents | 85318d1fe8fe |
children | 62c54fcc0a35 |
line wrap: on
line diff
--- a/src/share/vm/oops/instanceKlass.cpp Mon Jan 27 13:14:53 2014 +0100 +++ b/src/share/vm/oops/instanceKlass.cpp Tue Feb 25 18:16:24 2014 +0100 @@ -2234,15 +2234,7 @@ for (int m = 0; m < methods()->length(); m++) { MethodData* mdo = methods()->at(m)->method_data(); if (mdo != NULL) { - for (ProfileData* data = mdo->first_data(); - mdo->is_valid(data); - data = mdo->next_data(data)) { - data->clean_weak_klass_links(is_alive); - } - ParametersTypeData* parameters = mdo->parameters_type_data(); - if (parameters != NULL) { - parameters->clean_weak_klass_links(is_alive); - } + mdo->clean_method_data(is_alive); } } }