2065 _max_heap_free_ratio = max_heap_free_ratio; |
2065 _max_heap_free_ratio = max_heap_free_ratio; |
2066 return true; |
2066 return true; |
2067 } |
2067 } |
2068 |
2068 |
2069 // Check consistency of GC selection |
2069 // Check consistency of GC selection |
2070 bool Arguments::check_gc_consistency_user() { |
2070 bool Arguments::check_gc_consistency() { |
2071 check_gclog_consistency(); |
2071 check_gclog_consistency(); |
2072 bool status = true; |
2072 bool status = true; |
2073 // Ensure that the user has not selected conflicting sets |
2073 // Ensure that the user has not selected conflicting sets |
2074 // of collectors. [Note: this check is merely a user convenience; |
2074 // of collectors. [Note: this check is merely a user convenience; |
2075 // collectors over-ride each other so that only a non-conflicting |
2075 // collectors over-ride each other so that only a non-conflicting |
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 && check_gc_consistency_user(); |
2236 status = status && check_gc_consistency(); |
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(), |