< prev index next >

src/hotspot/share/gc/shared/gcConfiguration.cpp

Print this page
rev 57486 : imported patch 8235860-remove-serial-old-gc

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2012, 2019, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2012, 2020, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.

@@ -51,11 +51,11 @@
 GCName GCConfiguration::old_collector() const {
   if (UseG1GC) {
     return G1Old;
   }
 
-  if (UseParallelOldGC) {
+  if (UseParallelGC) {
     return ParallelOld;
   }
 
   if (UseZGC) {
     return Z;
< prev index next >