JDK-8356185 : C2 MemorySegment: long counted loop with invariant IV offset fails to vectorize with OSR
  • Type: Sub-task
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 25
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2025-05-05
  • Updated: 2025-05-09
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Description
See the attached test provided by [~epeter]. Run it with
 java -XX:CompileCommand=compileonly,Test2.\* -XX:CompileCommand=printcompilation,Test2.\* -XX:CompileCommand=TraceAutoVectorization,Test2.\*,SW_REJECTIONS,PRECONDITIONS -XX:+TraceNewVectors -XX:+TraceLoopOpts -Xbatch Test2.java