[jdk16] RFR: 8260473: [vector] ZGC: VectorReshape test produces incorrect results with ZGC enabled
Jie Fu
jiefu at openjdk.java.net
Sun Jan 31 00:43:46 UTC 2021
On Sat, 30 Jan 2021 17:33:08 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:
> Why `-XX:CICompilerCount=1` and `-Xmx256m` are needed?
Thanks @iwanowww for your review.
I discussed the same question with @casparcwang offline.
The reason is:
- Small heap (-Xmx256m) will help to trigger a gc.
- compileonly and compilercount=1 will let the VM run slow enough to wait for a gc to be finished.
And @casparcwang told me that this bug seems not to be reproduced every time without these JVM args.
Thanks.
-------------
PR: https://git.openjdk.java.net/jdk16/pull/139
More information about the hotspot-gc-dev
mailing list