git: openjdk/jdk17: 8268362: [REDO] C2 crash when compile negative Arrays.copyOf length after loop

Hui Shi hshi at openjdk.java.net
Mon Jun 21 11:59:51 UTC 2021


Changeset: 22ebd192
Author:    Hui Shi <hshi at openjdk.org>
Date:      2021-06-21 11:59:00 +0000
URL:       https://git.openjdk.java.net/jdk17/commit/22ebd1926d4510cbe40cb186edf16cbd44a29347

8268362: [REDO] C2 crash when compile negative Arrays.copyOf length after loop

Reviewed-by: kvn, roland

! src/hotspot/share/opto/callnode.cpp
! src/hotspot/share/opto/graphKit.cpp
! src/hotspot/share/opto/graphKit.hpp
! src/hotspot/share/opto/library_call.cpp
+ test/hotspot/jtreg/compiler/arraycopy/TestNegArrayLengthAsIndex1.java
+ test/hotspot/jtreg/compiler/arraycopy/TestNegArrayLengthAsIndex2.java
+ test/hotspot/jtreg/compiler/arraycopy/TestNegativeArrayCopyAfterLoop.java



More information about the jdk-changes mailing list