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

Erik Helin erik.helin at oracle.com
Wed Nov 23 13:05:38 UTC 2016


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