Skip to content

Commit b0d1e4f

Browse files
committed
8273585: String.charAt performance degrades due to JDK-8268698
Reviewed-by: roland, kvn
1 parent 7addcd7 commit b0d1e4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hotspot/share/opto/loopnode.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3416,7 +3416,7 @@ void PhaseIdealLoop::replace_parallel_iv(IdealLoopTree *loop) {
34163416
// Look for induction variables of the form: X += constant
34173417
if (phi2->region() != loop->_head ||
34183418
incr2->req() != 3 ||
3419-
incr2->in(1) != phi2 ||
3419+
incr2->in(1)->uncast() != phi2 ||
34203420
incr2 == incr ||
34213421
incr2->Opcode() != Op_AddI ||
34223422
!incr2->in(2)->is_Con())

0 commit comments

Comments
 (0)