< prev index next >
src/share/vm/runtime/arguments.hpp
Print this page
@@ -332,10 +332,12 @@
static void set_cms_and_parnew_gc_flags();
// UseParallel[Old]GC
static void set_parallel_gc_flags();
// Garbage-First (UseG1GC)
static void set_g1_gc_flags();
+ // Shenandoah GC (UseShenandoahGC)
+ static void set_shenandoah_gc_flags();
// GC ergonomics
static void set_conservative_max_heap_alignment();
static void set_use_compressed_oops();
static void set_use_compressed_klass_ptrs();
static void select_gc();
@@ -607,11 +609,11 @@
// Utility: copies src into buf, replacing "%%" with "%" and "%p" with pid.
static bool copy_expand_pid(const char* src, size_t srclen, char* buf, size_t buflen);
};
bool Arguments::gc_selected() {
- return UseConcMarkSweepGC || UseG1GC || UseParallelGC || UseParallelOldGC || UseSerialGC;
+ return UseConcMarkSweepGC || UseG1GC || UseParallelGC || UseParallelOldGC || UseSerialGC || UseShenandoahGC;
}
// Disable options not supported in this release, with a warning if they
// were explicitly requested on the command-line
#define UNSUPPORTED_OPTION(opt, description) \
< prev index next >