RFR: 8373722: [TESTBUG] compiler/vectorapi/TestVectorOperationsWithPartialSize.java fails intermittently

Jie Fu jiefu at openjdk.org
Thu Dec 25 08:12:53 UTC 2025


On Thu, 25 Dec 2025 07:19:47 GMT, Xiaohong Gong <xgong at openjdk.org> wrote:

> 
> Thanks for the suggestion. I understand your point, and it sounds reasonable to me. In this test, the tolerance calculation is based on the existing Vector API jtreg reduction tests. For example, here is the approach used in `Float128VectorTests`:
> 
> https://github.com/openjdk/jdk/blob/73a8629c5b52b678febcc9d339e01ebcc5277909/test/jdk/jdk/incubator/vector/Float128VectorTests.java#L143-L156

May I ask would the example you mentioned above fail for negative floats?

Note: I've provided a reproducer which would 100% fail for your current implementation with negative floats, which seems unacceptable to me.

Also I'm still not sure if there are corner cases with the 1~3000 range since the logic has been proved wrong with negative floats.

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

PR Comment: https://git.openjdk.org/jdk/pull/28960#issuecomment-3691114227


More information about the hotspot-compiler-dev mailing list