< prev index next >
src/hotspot/share/gc/shared/gcConfiguration.cpp
Print this page
*** 41,50 ****
--- 41,54 ----
if (UseConcMarkSweepGC) {
return ParNew;
}
+ if (UseZGC) {
+ return NA;
+ }
+
return DefNew;
}
GCName GCConfiguration::old_collector() const {
if (UseG1GC) {
*** 57,66 ****
--- 61,74 ----
if (UseParallelOldGC) {
return ParallelOld;
}
+ if (UseZGC) {
+ return Z;
+ }
+
return SerialOld;
}
uint GCConfiguration::num_parallel_gc_threads() const {
return ParallelGCThreads;
< prev index next >