mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8146690: Make all classes in GC follow the naming convention
Reviewed-by: dholmes, stefank
This commit is contained in:
parent
49d61bdeb6
commit
ad0c208a5a
77 changed files with 411 additions and 411 deletions
|
@ -34,7 +34,7 @@
|
|||
/* Copyright (c) 1992, 2015, Oracle and/or its affiliates, and Stanford University.
|
||||
See the LICENSE file for license information. */
|
||||
|
||||
ageTable::ageTable(bool global) {
|
||||
AgeTable::AgeTable(bool global) {
|
||||
|
||||
clear();
|
||||
|
||||
|
@ -61,19 +61,19 @@ ageTable::ageTable(bool global) {
|
|||
}
|
||||
}
|
||||
|
||||
void ageTable::clear() {
|
||||
void AgeTable::clear() {
|
||||
for (size_t* p = sizes; p < sizes + table_size; ++p) {
|
||||
*p = 0;
|
||||
}
|
||||
}
|
||||
|
||||
void ageTable::merge(ageTable* subTable) {
|
||||
void AgeTable::merge(AgeTable* subTable) {
|
||||
for (int i = 0; i < table_size; i++) {
|
||||
sizes[i]+= subTable->sizes[i];
|
||||
}
|
||||
}
|
||||
|
||||
uint ageTable::compute_tenuring_threshold(size_t survivor_capacity, GCPolicyCounters* gc_counters) {
|
||||
uint AgeTable::compute_tenuring_threshold(size_t survivor_capacity, GCPolicyCounters* gc_counters) {
|
||||
size_t desired_survivor_size = (size_t)((((double) survivor_capacity)*TargetSurvivorRatio)/100);
|
||||
uint result;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue