RFR: 8260473: [vector] ZGC: VectorReshape test produces incorrect results with ZGC enabled [v4]

Per Liden pliden at openjdk.java.net
Thu Jan 28 14:50:47 UTC 2021


On Thu, 28 Jan 2021 12:53:03 GMT, 王超 <github.com+25214855+casparcwang at openjdk.org> wrote:

>> https://bugs.openjdk.java.net/browse/JDK-8260473
>> 
>> Function "PhaseVector::expand_vunbox_node" creates a LoadNode, but forgets to make the LoadNode to pass gc barriers.
>> 
>> 
>> Testing: all Vector API related tests have passed.
>
> 王超 has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Change the directory & fix the include order

test/hotspot/jtreg/compiler/vectorapi/VectorReshapeTest.java line 38:

> 36:  * @test
> 37:  * @bug 8260473
> 38:  * @modules jdk.incubator.vector

This test should have a `@requires vm.gc.Z` tag. That will make sure it's only executed on platforms where ZGC is supported (and that ZGC is included in the build).

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

PR: https://git.openjdk.java.net/jdk/pull/2253


More information about the hotspot-compiler-dev mailing list