RFR: 8170067: -XX:ExplicitGCInvokesConcurrentAndUnloadsClasses is not implemented for G1

Erik Helin erik.helin at oracle.com
Mon Nov 28 21:20:39 UTC 2016


Hi everyone,

thanks for all your feedback!

Taking all the suggestions into account and discussing this patch with 
others, I now withdraw this review request. I now think it makes more 
sense to deprecate this flag, see 
http://mail.openjdk.java.net/pipermail/hotspot-gc-dev/2016-November/019314.html 
for details.

Thanks,
Erik

On 11/23/2016 02:05 PM, Erik Helin wrote:
> Hi all,
>
> I just added support for
> -XX:ExplicitGCInvokesConcurrentAndUnloadsClasses in G1. Since G1 already
> unloads classes after a concurrent mark by default, I just made
> -XX:+ExplicitGCInvokesConcurrentAndUnloadsClasses enable
> -XX:+ExplicitGCInvokesConcurrent. I also added a constraint function to
> check for some bad flag combinations and a corresponding test.
>
> Bug:
> https://bugs.openjdk.java.net/browse/JDK-8170067
>
> Webrev:
> http://cr.openjdk.java.net/~ehelin/8170067/00/
>
> Testing:
> - JPRT
> - New jtreg test
>
> Thanks,
> Erik



More information about the hotspot-gc-dev mailing list