hotspot/src/share/vm/runtime/arguments.cpp
changeset 31390 7f35f0462aea
parent 31377 229b4eb67c2b
child 31594 1b71ba1c8c35
child 31521 f57b2ce43484
child 33962 a96fba52fc81
--- a/hotspot/src/share/vm/runtime/arguments.cpp	Tue Jun 23 22:10:33 2015 -0400
+++ b/hotspot/src/share/vm/runtime/arguments.cpp	Wed Jun 24 08:37:12 2015 +0200
@@ -1535,7 +1535,11 @@
     if (should_auto_select_low_pause_collector()) {
       FLAG_SET_ERGO(bool, UseConcMarkSweepGC, true);
     } else {
+#if defined(JAVASE_EMBEDDED)
       FLAG_SET_ERGO(bool, UseParallelGC, true);
+#else
+      FLAG_SET_ERGO(bool, UseG1GC, true);
+#endif
     }
   } else {
     FLAG_SET_ERGO(bool, UseSerialGC, true);