8328612: AdaptiveSizePolicySpaceOverheadTester::is_exceeded() print max_eden_size twice

Reviewed-by: ayang
This commit is contained in:
Zhengyu Gu 2024-03-22 19:21:13 +00:00
parent c7bbf84929
commit 4324e3be9e

View File

@ -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. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * 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)( log_trace(gc, ergo)(
"AdaptiveSizePolicySpaceOverheadTester::is_exceeded:" "AdaptiveSizePolicySpaceOverheadTester::is_exceeded:"
" promo_limit: " SIZE_FORMAT " promo_limit: " SIZE_FORMAT
" max_eden_size: " SIZE_FORMAT
" total_free_limit: " SIZE_FORMAT " total_free_limit: " SIZE_FORMAT
" max_old_gen_size: " SIZE_FORMAT " max_old_gen_size: " SIZE_FORMAT
" max_eden_size: " SIZE_FORMAT " max_eden_size: " SIZE_FORMAT
" mem_free_limit: " 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, _max_old_gen_size, _max_eden_size,
(size_t)mem_free_limit); (size_t)mem_free_limit);