mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8155634: Clean out old logging and dead code from SurvRateGroup
Reviewed-by: jmasa, tschatzl, sjohanss
This commit is contained in:
parent
512ffd9ded
commit
432cff9626
9 changed files with 47 additions and 199 deletions
|
@ -312,20 +312,6 @@ Flag::Error G1RSetSparseRegionEntriesConstraintFunc(intx value, bool verbose) {
|
|||
}
|
||||
}
|
||||
|
||||
Flag::Error G1YoungSurvRateNumRegionsSummaryConstraintFunc(intx value, bool verbose) {
|
||||
if (!UseG1GC) return Flag::SUCCESS;
|
||||
|
||||
if (value > (intx)HeapRegionBounds::target_number()) {
|
||||
CommandLineError::print(verbose,
|
||||
"G1YoungSurvRateNumRegionsSummary (" INTX_FORMAT ") must be "
|
||||
"less than or equal to region count (" SIZE_FORMAT ")\n",
|
||||
value, HeapRegionBounds::target_number());
|
||||
return Flag::VIOLATES_CONSTRAINT;
|
||||
} else {
|
||||
return Flag::SUCCESS;
|
||||
}
|
||||
}
|
||||
|
||||
Flag::Error G1HeapRegionSizeConstraintFunc(size_t value, bool verbose) {
|
||||
if (!UseG1GC) return Flag::SUCCESS;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue