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

kirk at kodewerk.com kirk at kodewerk.com
Tue Nov 29 06:26:05 UTC 2016


Hi,

> 
> 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.

Sadly this seems like a reasonable course of action though it also feels like a missed opportunity to align the G1 and CMS flags by getting rid of this one.

Kind regards,
Kirk Pepperdine

> 
> 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