RFR: 8081607: Change default GC for server configurations to G1

Thomas Schatzl thomas.schatzl at oracle.com
Tue Jun 23 09:04:26 UTC 2015


On Tue, 2015-06-23 at 10:07 +0200, Stefan Johansson wrote:
> Hi,
> Please review this change to make G1 the default GC:
> https://bugs.openjdk.java.net/browse/JDK-8081607
> JEP:
> http://openjdk.java.net/jeps/248
> Webrev:
> http://cr.openjdk.java.net/~sjohanss/8081607/hotspot.00/
> Summary:
> Changing the the default GC for server configurations to G1 (but not on 
> embedded). Also updated test to reflect the change.

Please use Platform.isServer()/isEmbedded() to find out the type of VM.
I also recommend to remove the negation in the ifdef.


More information about the hotspot-dev mailing list