comparison src/share/vm/graal/graalCodeInstaller.cpp @ 4678:a03f3fd16b22

Fix reexecute boolean in HotSpot debug information. Introduce "duringCall" flag in FrameState that indicates that the bci of the frame state denotes an invoke that should *not* be reexecuted.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Thu, 23 Feb 2012 21:43:59 +0100
parents 41034914e2ee
children fc42b5b6941a
comparison
equal deleted inserted replaced
4677:74c0b866fe8d 4678:a03f3fd16b22
484 if (bci == -1) { 484 if (bci == -1) {
485 reexecute = false; 485 reexecute = false;
486 } else { 486 } else {
487 Bytecodes::Code code = Bytecodes::java_code_at(method, method->bcp_from(bci)); 487 Bytecodes::Code code = Bytecodes::java_code_at(method, method->bcp_from(bci));
488 reexecute = Interpreter::bytecode_should_reexecute(code); 488 reexecute = Interpreter::bytecode_should_reexecute(code);
489 if (frame != NULL) {
490 reexecute = (CiFrame::duringCall(frame) == 0);
491 }
489 } 492 }
490 493
491 if (TraceGraal >= 2) { 494 if (TraceGraal >= 2) {
492 tty->print_cr("Recording scope pc_offset=%d bci=%d frame=%d", pc_offset, bci, frame); 495 tty->print_cr("Recording scope pc_offset=%d bci=%d frame=%d", pc_offset, bci, frame);
493 } 496 }