< prev index next >

src/hotspot/share/code/dependencies.cpp

Print this page
*** 1695,11 ***
    assert(must_be_in_vm(), "raw oops here");
    // Did somebody do a JVMTI RedefineClasses while our backs were turned?
    // Or is there a now a breakpoint?
    // (Assumes compiled code cannot handle bkpts; change if UseFastBreakpoints.)
    if (m->is_old()
!       || m->number_of_breakpoints() > 0) {
      return m->method_holder();
    } else {
      return nullptr;
    }
  }
--- 1695,12 ---
    assert(must_be_in_vm(), "raw oops here");
    // Did somebody do a JVMTI RedefineClasses while our backs were turned?
    // Or is there a now a breakpoint?
    // (Assumes compiled code cannot handle bkpts; change if UseFastBreakpoints.)
    if (m->is_old()
!       || m->number_of_breakpoints() > 0
+       || m->mismatch()) {
      return m->method_holder();
    } else {
      return nullptr;
    }
  }
< prev index next >