RFR: 8260473: [vector] ZGC: VectorReshape test produces incorrect results with ZGC enabled [v4]
Stuart Monteith
smonteith at openjdk.java.net
Fri Jan 29 21:06:41 UTC 2021
On Fri, 29 Jan 2021 02:14:06 GMT, 王超 <github.com+25214855+casparcwang at openjdk.org> wrote:
>> test/hotspot/jtreg/compiler/vectorapi/VectorReshapeTest.java line 40:
>>
>>> 38: * @modules jdk.incubator.vector
>>> 39: * @modules java.base/jdk.internal.vm.annotation
>>> 40: * @run main/othervm -XX:CompileCommand=compileonly,jdk/incubator/vector/ByteVector.fromByteBuffer
>>
>> -XX:CompileCommand=compileonly,jdk/incubator/vector/ByteVector.fromByteBuffer restricts the compilation to a single method for diagnostic purposes. The test runs much quicker without it, and still reproduces the issue.
>
> The test is changed to 'testng' mode, remove option compileonly will make the test pass the assert in jtreg test framework. But add the option will make it fail the assert. So the option is left unchanged.
I accept that - running it away from standalone does change the behaviour sufficiently that the CompileCommand is necessary to run the test (the standalone test was developed without the CompileCommand being necessary).
-------------
PR: https://git.openjdk.java.net/jdk/pull/2253
More information about the hotspot-gc-dev
mailing list