< prev index next >
src/share/vm/c1/c1_Runtime1.cpp
Print this page
@@ -1500,11 +1500,10 @@
nmethod* nm = CodeCache::find_nmethod(caller_frame.pc());
assert (nm != NULL, "no more nmethod?");
nm->make_not_entrant();
methodHandle m(nm->method());
- if (ProfileInterpreter) {
MethodData* mdo = m->method_data();
if (mdo == NULL && !HAS_PENDING_EXCEPTION) {
// Build an MDO. Ignore errors like OutOfMemory;
// that simply means we won't have an MDO to update.
@@ -1517,11 +1516,10 @@
}
if (mdo != NULL) {
mdo->inc_trap_count(Deoptimization::Reason_none);
}
- }
if (TracePredicateFailedTraps) {
stringStream ss1, ss2;
vframeStream vfst(thread);
methodHandle inlinee = methodHandle(vfst.method());
< prev index next >