mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
7012980: PSOldGen is increased if there is no space in Metaspace
Reviewed-by: tschatzl, tbenson
This commit is contained in:
parent
bd52f0a2ef
commit
48ed80d136
6 changed files with 46 additions and 11 deletions
|
@ -130,8 +130,7 @@ void PSAdaptiveSizePolicy::major_collection_end(size_t amount_live,
|
|||
// Update the pause time.
|
||||
_major_timer.stop();
|
||||
|
||||
if (!GCCause::is_user_requested_gc(gc_cause) ||
|
||||
UseAdaptiveSizePolicyWithSystemGC) {
|
||||
if (should_update_promo_stats(gc_cause)) {
|
||||
double major_pause_in_seconds = _major_timer.seconds();
|
||||
double major_pause_in_ms = major_pause_in_seconds * MILLIUNITS;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue