< prev index next >
src/hotspot/share/gc/shared/gcArguments.cpp
Print this page
@@ -37,11 +37,11 @@
#include "gc/g1/g1Arguments.hpp"
#endif
GCArguments* GCArguments::_instance = NULL;
-GCArguments* GCArguments::instance() {
+GCArguments* GCArguments::arguments() {
assert(is_initialized(), "Heap factory not yet created");
return _instance;
}
bool GCArguments::is_initialized() {
@@ -101,11 +101,11 @@
FLAG_SET_CMDLINE(bool, ClassUnloadingWithConcurrentMark, false);
}
#endif // INCLUDE_ALL_GCS
}
-jint GCArguments::create_instance() {
+jint GCArguments::initialize() {
assert(!is_initialized(), "GC arguments already initialized");
select_gc();
#if !INCLUDE_ALL_GCS
< prev index next >