git: openjdk/jdk: master: 8356176: C2 MemorySegment: missing RCE with byteSize() in Loop Exit Check inside the for Expression

Manuel Hässig mhaessig at openjdk.org
Tue Aug 19 06:40:20 UTC 2025


Changeset: 626bea80
Branch: master
Author:    Manuel Hässig <mhaessig at openjdk.org>
Date:      2025-08-19 06:37:52 +0000
URL:       https://git.openjdk.org/jdk/commit/626bea80abf1660757a12462ebc8313ef6d41f92

8356176: C2 MemorySegment: missing RCE with byteSize() in Loop Exit Check inside the for Expression

Co-authored-by: Quan Anh Mai <qamai at openjdk.org>
Co-authored-by: Emanuel Peter <epeter at openjdk.org>
Co-authored-by: Christian Hagedorn <chagedorn at openjdk.org>
Co-authored-by: Tobias Hartmann <thartmann at openjdk.org>
Reviewed-by: epeter, qamai

! src/hotspot/share/opto/loopnode.hpp
! src/hotspot/share/opto/loopopts.cpp
! test/hotspot/jtreg/compiler/loopopts/InvariantCodeMotionReassociateAddSub.java
! test/hotspot/jtreg/compiler/loopopts/superword/TestMemorySegment.java
+ test/hotspot/jtreg/compiler/loopopts/superword/TestMemorySegmentByteSizeLongLoopLimit.java
+ test/hotspot/jtreg/compiler/loopopts/superword/TestMemorySegmentField.java
! test/hotspot/jtreg/compiler/vectorization/runner/ArrayIndexFillTest.java



More information about the jdk-changes mailing list