RFR: 8165955: TestFullGCCount test failed with CMS and -XX:+ExplicitGCInvokesConcurrent
Dmitry Fazunenenko
dmitry.fazunenko at oracle.com
Thu Nov 10 09:47:42 UTC 2016
Hi Michail,
I think this test is not designed to work in
ExplicitGCInvokesConcurrent=true.
So, I would require:
* @requires vm.opt.ExplicitGCInvokesConcurrent != true
Thanks,
Dima
On 11/9/2016 7:44 PM, Michail Chernov wrote:
> Hi,
>
> Could I have a reviews for this small change which excludes test run
> with CMS and -XX:+ExplicitGCInvokesConcurrent, please?
>
> https://bugs.openjdk.java.net/browse/JDK-8165955
> http://cr.openjdk.java.net/~mchernov/8165955/webrev.00/
>
> Test fails because CMS with -XX:+ExplicitGCInvokesConcurrent causes to
> java's threads unlocking before CMSCollector::sweep() has been done.
> So the GC counters can be updated after test gets their value.
>
> Thanks,
> Michail
More information about the hotspot-gc-dev
mailing list