src/share/vm/interpreter/interpreterRuntime.cpp

changeset 3452
20334ed5ed3c
parent 3239
12d38ffcba2a
child 3848
e2fe93124108
     1.1 --- a/src/share/vm/interpreter/interpreterRuntime.cpp	Thu Jan 26 16:49:22 2012 +0100
     1.2 +++ b/src/share/vm/interpreter/interpreterRuntime.cpp	Thu Jan 26 12:15:24 2012 -0800
     1.3 @@ -859,7 +859,9 @@
     1.4    const int branch_bci = branch_bcp != NULL ? method->bci_from(branch_bcp) : InvocationEntryBci;
     1.5    const int bci = branch_bcp != NULL ? method->bci_from(fr.interpreter_frame_bcp()) : InvocationEntryBci;
     1.6  
     1.7 +  assert(!HAS_PENDING_EXCEPTION, "Should not have any exceptions pending");
     1.8    nmethod* osr_nm = CompilationPolicy::policy()->event(method, method, branch_bci, bci, CompLevel_none, NULL, thread);
     1.9 +  assert(!HAS_PENDING_EXCEPTION, "Event handler should not throw any exceptions");
    1.10  
    1.11    if (osr_nm != NULL) {
    1.12      // We may need to do on-stack replacement which requires that no

mercurial