src/share/vm/oops/instanceKlass.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Cdiff src/share/vm/oops/instanceKlass.cpp

src/share/vm/oops/instanceKlass.cpp

Print this page
rev 5774 : 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:

*** 2232,2250 **** void InstanceKlass::clean_method_data(BoolObjectClosure* is_alive) { 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); ! } } } } --- 2232,2242 ---- void InstanceKlass::clean_method_data(BoolObjectClosure* is_alive) { for (int m = 0; m < methods()->length(); m++) { MethodData* mdo = methods()->at(m)->method_data(); if (mdo != NULL) { ! mdo->clean_method_data(is_alive); } } }
src/share/vm/oops/instanceKlass.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File