< prev index next >

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

Print this page

        

*** 37,47 **** #include "gc/g1/g1Arguments.hpp" #endif GCArguments* GCArguments::_instance = NULL; ! GCArguments* GCArguments::instance() { assert(is_initialized(), "Heap factory not yet created"); return _instance; } bool GCArguments::is_initialized() { --- 37,47 ---- #include "gc/g1/g1Arguments.hpp" #endif GCArguments* GCArguments::_instance = NULL; ! GCArguments* GCArguments::arguments() { assert(is_initialized(), "Heap factory not yet created"); return _instance; } bool GCArguments::is_initialized() {
*** 101,111 **** FLAG_SET_CMDLINE(bool, ClassUnloadingWithConcurrentMark, false); } #endif // INCLUDE_ALL_GCS } ! jint GCArguments::create_instance() { assert(!is_initialized(), "GC arguments already initialized"); select_gc(); #if !INCLUDE_ALL_GCS --- 101,111 ---- FLAG_SET_CMDLINE(bool, ClassUnloadingWithConcurrentMark, false); } #endif // INCLUDE_ALL_GCS } ! jint GCArguments::initialize() { assert(!is_initialized(), "GC arguments already initialized"); select_gc(); #if !INCLUDE_ALL_GCS
< prev index next >