|
1 | 1 | /*
|
2 |
| - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. All rights reserved. |
| 2 | + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. All rights reserved. |
3 | 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
4 | 4 | *
|
5 | 5 | * This code is free software; you can redistribute it and/or modify it
|
@@ -205,8 +205,6 @@ void PSAdaptiveSizePolicy::compute_eden_space_size(
|
205 | 205 | bool is_full_gc) {
|
206 | 206 |
|
207 | 207 | // Update statistics
|
208 |
| - // Time statistics are updated as we go, update footprint stats here |
209 |
| - _avg_base_footprint->sample(BaseFootPrintEstimate); |
210 | 208 | avg_young_live()->sample(young_live);
|
211 | 209 | avg_eden_live()->sample(eden_live);
|
212 | 210 |
|
@@ -363,8 +361,7 @@ void PSAdaptiveSizePolicy::compute_eden_space_size(
|
363 | 361 | log_debug(gc, ergo)("Live_space: " SIZE_FORMAT " free_space: " SIZE_FORMAT,
|
364 | 362 | live_space(), free_space());
|
365 | 363 |
|
366 |
| - log_trace(gc, ergo)("Base_footprint: " SIZE_FORMAT " avg_young_live: " SIZE_FORMAT " avg_old_live: " SIZE_FORMAT, |
367 |
| - (size_t)_avg_base_footprint->average(), |
| 364 | + log_trace(gc, ergo)("avg_young_live: " SIZE_FORMAT " avg_old_live: " SIZE_FORMAT, |
368 | 365 | (size_t)avg_young_live()->average(),
|
369 | 366 | (size_t)avg_old_live()->average());
|
370 | 367 |
|
@@ -535,8 +532,7 @@ void PSAdaptiveSizePolicy::compute_old_gen_free_space(
|
535 | 532 | log_debug(gc, ergo)("Live_space: " SIZE_FORMAT " free_space: " SIZE_FORMAT,
|
536 | 533 | live_space(), free_space());
|
537 | 534 |
|
538 |
| - log_trace(gc, ergo)("Base_footprint: " SIZE_FORMAT " avg_young_live: " SIZE_FORMAT " avg_old_live: " SIZE_FORMAT, |
539 |
| - (size_t)_avg_base_footprint->average(), |
| 535 | + log_trace(gc, ergo)("avg_young_live: " SIZE_FORMAT " avg_old_live: " SIZE_FORMAT, |
540 | 536 | (size_t)avg_young_live()->average(),
|
541 | 537 | (size_t)avg_old_live()->average());
|
542 | 538 |
|
|
0 commit comments