Mercurial > hg > graal-compiler
comparison 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 |
comparison
equal
deleted
inserted
replaced
20654:fa6adc194d48 | 20655:b840813adfcc |
---|---|
2231 if (GCTimeLimit == 100) { | 2231 if (GCTimeLimit == 100) { |
2232 // Turn off gc-overhead-limit-exceeded checks | 2232 // Turn off gc-overhead-limit-exceeded checks |
2233 FLAG_SET_DEFAULT(UseGCOverheadLimit, false); | 2233 FLAG_SET_DEFAULT(UseGCOverheadLimit, false); |
2234 } | 2234 } |
2235 | 2235 |
2236 status = status && ArgumentsExt::check_gc_consistency_user(); | 2236 status = status && check_gc_consistency_user(); |
2237 status = status && check_stack_pages(); | 2237 status = status && check_stack_pages(); |
2238 | 2238 |
2239 if (CMSIncrementalMode) { | 2239 if (CMSIncrementalMode) { |
2240 if (!UseConcMarkSweepGC) { | 2240 if (!UseConcMarkSweepGC) { |
2241 jio_fprintf(defaultStream::error_stream(), | 2241 jio_fprintf(defaultStream::error_stream(), |
3623 } | 3623 } |
3624 } | 3624 } |
3625 } | 3625 } |
3626 } | 3626 } |
3627 | 3627 |
3628 if (!ArgumentsExt::check_vm_args_consistency()) { | 3628 if (!check_vm_args_consistency()) { |
3629 return JNI_ERR; | 3629 return JNI_ERR; |
3630 } | 3630 } |
3631 | 3631 |
3632 return JNI_OK; | 3632 return JNI_OK; |
3633 } | 3633 } |
4026 | 4026 |
4027 | 4027 |
4028 // Set heap size based on available physical memory | 4028 // Set heap size based on available physical memory |
4029 set_heap_size(); | 4029 set_heap_size(); |
4030 | 4030 |
4031 set_gc_specific_flags(); | 4031 ArgumentsExt::set_gc_specific_flags(); |
4032 | 4032 |
4033 // Initialize Metaspace flags and alignments. | 4033 // Initialize Metaspace flags and alignments. |
4034 Metaspace::ergo_initialize(); | 4034 Metaspace::ergo_initialize(); |
4035 | 4035 |
4036 // Set bytecode rewriting flags | 4036 // Set bytecode rewriting flags |