< prev index next >
src/utils/LogCompilation/src/com/sun/hotspot/tools/compiler/LogParser.java
Print this page
*** 1023,1039 ****
// These are messages from ciTypeFlow that don't
// actually correspond to generated code.
return;
}
try {
if (scopes.size() == 0) {
reportInternalError("scope underflow");
}
! scopes.peek().add(new UncommonTrap(Integer.parseInt(search(atts, "bci")),
! search(atts, "reason"),
! search(atts, "action"),
! bytecodes[current_bytecode]));
} catch (Error e) {
e.printStackTrace();
}
}
} else if (qname.startsWith("eliminate_lock")) {
--- 1023,1046 ----
// These are messages from ciTypeFlow that don't
// actually correspond to generated code.
return;
}
try {
+ UncommonTrap unc = new UncommonTrap(Integer.parseInt(search(atts, "bci")),
+ search(atts, "reason"),
+ search(atts, "action"),
+ bytecodes[current_bytecode]);
if (scopes.size() == 0) {
+ // There may be a dangling site not yet in scopes after a late_inline
+ if (site != null) {
+ site.add(unc);
+ } else {
reportInternalError("scope underflow");
}
! } else {
! scopes.peek().add(unc);
! }
} catch (Error e) {
e.printStackTrace();
}
}
} else if (qname.startsWith("eliminate_lock")) {
< prev index next >