comparison src/share/vm/opto/parse1.cpp @ 3700:f13867c41f73

7199742: A lot of C2 OSR compilations of the same method's bci Summary: Don't clone head of OSR loop. Reviewed-by: jrose, twisti
author kvn
date Tue, 02 Oct 2012 14:49:21 -0700
parents e626685e9f6c
children c3e799c37717
comparison
equal deleted inserted replaced
30:b869160898e8 31:9739ed35a4b5
370 set_map(bad_type_exit); 370 set_map(bad_type_exit);
371 // The unexpected type happens because a new edge is active 371 // The unexpected type happens because a new edge is active
372 // in the CFG, which typeflow had previously ignored. 372 // in the CFG, which typeflow had previously ignored.
373 // E.g., Object x = coldAtFirst() && notReached()? "str": new Integer(123). 373 // E.g., Object x = coldAtFirst() && notReached()? "str": new Integer(123).
374 // This x will be typed as Integer if notReached is not yet linked. 374 // This x will be typed as Integer if notReached is not yet linked.
375 uncommon_trap(Deoptimization::Reason_unreached, 375 // It could also happen due to a problem in ciTypeFlow analysis.
376 uncommon_trap(Deoptimization::Reason_constraint,
376 Deoptimization::Action_reinterpret); 377 Deoptimization::Action_reinterpret);
377 set_map(types_are_good); 378 set_map(types_are_good);
378 } 379 }
379 } 380 }
380 381