Skip to content

Commit 9ba238e

Browse files
author
Jean-Philippe Bempel
committed
7977: Maximum Young Gen Size is displaying the min in GC config Page
Reviewed-by: aptmac
1 parent 761797e commit 9ba238e

File tree

1 file changed

+2
-2
lines changed
  • core/org.openjdk.jmc.flightrecorder/src/main/java/org/openjdk/jmc/flightrecorder/jdk

1 file changed

+2
-2
lines changed

core/org.openjdk.jmc.flightrecorder/src/main/java/org/openjdk/jmc/flightrecorder/jdk/JdkAggregators.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2018, 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved.
33
*
44
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
55
*
@@ -177,7 +177,7 @@ public final class JdkAggregators {
177177
JdkAttributes.YOUNG_GENERATION_MIN_SIZE);
178178
public static final IAggregator<IQuantity, ?> YOUNG_GENERATION_MAX_SIZE = min(
179179
JdkAttributes.YOUNG_GENERATION_MAX_SIZE.getName(), null, GC_CONF_YOUNG_GENERATION,
180-
JdkAttributes.YOUNG_GENERATION_MIN_SIZE);
180+
JdkAttributes.YOUNG_GENERATION_MAX_SIZE);
181181
public static final IAggregator<IQuantity, ?> NEW_RATIO_MIN = min(NEW_RATIO.getName(), null,
182182
GC_CONF_YOUNG_GENERATION, NEW_RATIO);
183183
public static final IAggregator<IQuantity, ?> TENURING_THRESHOLD_INITIAL_MIN = min(

0 commit comments

Comments
 (0)