[jdk16] RFR: 8260473: [vector] ZGC: VectorReshape test produces incorrect results with ZGC enabled
Vladimir Ivanov
vlivanov at openjdk.java.net
Mon Feb 1 11:38:49 UTC 2021
On Sun, 31 Jan 2021 00:41:11 GMT, Jie Fu <jiefu at openjdk.org> wrote:
> compileonly and compilercount=1 will let the VM run slow enough to wait for a gc to be finished.
That's a strange way to provoke the bug. You could just increase the number of iterations instead.
But the right way to fix it is to stress ZGC to continuously run in the background while the test case aggressively unboxes vectors in compiled code. `-Xmx256m` helps with that while `-XX:CICompilerCount=1` is irrelevant.
-------------
PR: https://git.openjdk.java.net/jdk16/pull/139
More information about the hotspot-compiler-dev
mailing list