From 4324e3be9ea8233b3625440330b9e8a269672f85 Mon Sep 17 00:00:00 2001 From: Zhengyu Gu Date: Fri, 22 Mar 2024 19:21:13 +0000 Subject: [PATCH] 8328612: AdaptiveSizePolicySpaceOverheadTester::is_exceeded() print max_eden_size twice Reviewed-by: ayang --- src/hotspot/share/gc/shared/adaptiveSizePolicy.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/hotspot/share/gc/shared/adaptiveSizePolicy.cpp b/src/hotspot/share/gc/shared/adaptiveSizePolicy.cpp index 3a0b3188a9a..1454a2b21e9 100644 --- a/src/hotspot/share/gc/shared/adaptiveSizePolicy.cpp +++ b/src/hotspot/share/gc/shared/adaptiveSizePolicy.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004, 2023, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2004, 2024, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -338,12 +338,11 @@ class AdaptiveSizePolicySpaceOverheadTester: public GCOverheadTester { log_trace(gc, ergo)( "AdaptiveSizePolicySpaceOverheadTester::is_exceeded:" " promo_limit: " SIZE_FORMAT - " max_eden_size: " SIZE_FORMAT " total_free_limit: " SIZE_FORMAT " max_old_gen_size: " SIZE_FORMAT " max_eden_size: " SIZE_FORMAT " mem_free_limit: " SIZE_FORMAT, - promo_limit, _max_eden_size, total_free_limit, + promo_limit, total_free_limit, _max_old_gen_size, _max_eden_size, (size_t)mem_free_limit);