mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
7199742: A lot of C2 OSR compilations of the same method's bci
Don't clone head of OSR loop. Reviewed-by: jrose, twisti
This commit is contained in:
parent
e8332c76e9
commit
8d8d00ff00
3 changed files with 60 additions and 1 deletions
|
@ -372,7 +372,8 @@ void Parse::load_interpreter_state(Node* osr_buf) {
|
|||
// in the CFG, which typeflow had previously ignored.
|
||||
// E.g., Object x = coldAtFirst() && notReached()? "str": new Integer(123).
|
||||
// This x will be typed as Integer if notReached is not yet linked.
|
||||
uncommon_trap(Deoptimization::Reason_unreached,
|
||||
// It could also happen due to a problem in ciTypeFlow analysis.
|
||||
uncommon_trap(Deoptimization::Reason_constraint,
|
||||
Deoptimization::Action_reinterpret);
|
||||
set_map(types_are_good);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue