Mercurial > hg > truffle
diff src/share/vm/runtime/arguments.cpp @ 20655:b840813adfcc
8065305: Make it possible to extend the G1CollectorPolicy
Summary: Added a G1CollectorPolicyExt where it is possible to extend the class.
Reviewed-by: sjohanss, tschatzl
author | jwilhelm |
---|---|
date | Fri, 21 Nov 2014 12:08:37 +0100 |
parents | fa6adc194d48 |
children | c03d85ef5e6a 42f27b59c550 |
line wrap: on
line diff
--- a/src/share/vm/runtime/arguments.cpp Wed Nov 19 14:21:09 2014 -0800 +++ b/src/share/vm/runtime/arguments.cpp Fri Nov 21 12:08:37 2014 +0100 @@ -2233,7 +2233,7 @@ FLAG_SET_DEFAULT(UseGCOverheadLimit, false); } - status = status && ArgumentsExt::check_gc_consistency_user(); + status = status && check_gc_consistency_user(); status = status && check_stack_pages(); if (CMSIncrementalMode) { @@ -3625,7 +3625,7 @@ } } - if (!ArgumentsExt::check_vm_args_consistency()) { + if (!check_vm_args_consistency()) { return JNI_ERR; } @@ -4028,7 +4028,7 @@ // Set heap size based on available physical memory set_heap_size(); - set_gc_specific_flags(); + ArgumentsExt::set_gc_specific_flags(); // Initialize Metaspace flags and alignments. Metaspace::ergo_initialize();