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

Emanuel Peter epeter at openjdk.org
Mon Aug 18 08:02:20 UTC 2025


On Mon, 11 Aug 2025 15:27:12 GMT, Manuel Hässig <mhaessig at openjdk.org> wrote:

>> test/hotspot/jtreg/compiler/loopopts/superword/TestMemorySegmentByteSizeLongLoopLimit.java line 38:
>> 
>>> 36:  * @library /test/lib /
>>> 37:  * @run driver compiler.loopopts.superword.TestMemorySegmentByteSizeLongLoopLimit
>>> 38:  */
>> 
>> For MemorySegment tests, I've made the experience that it is quite important to test out some runs with additional flag combinations: at least `AlignVector` and `ShortRunningLongLoop`. Same might apply for the tests below.
>
> I added scenarios.

Still missing `AlignVector`, no?

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/26429#discussion_r2281595785


More information about the hotspot-compiler-dev mailing list