From f2c992c5af021ab0ff8429fd261314bc7e01f7df Mon Sep 17 00:00:00 2001 From: Matthias Baesken Date: Wed, 4 Sep 2024 07:09:59 +0000 Subject: [PATCH] 8339300: CollectorPolicy.young_scaled_initial_ergo_vm gtest fails on ppc64 based platforms Reviewed-by: mdoerr, lucy --- test/hotspot/gtest/gc/shared/test_collectorPolicy.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/hotspot/gtest/gc/shared/test_collectorPolicy.cpp b/test/hotspot/gtest/gc/shared/test_collectorPolicy.cpp index 06874ee0698..a7d89dcfdd6 100644 --- a/test/hotspot/gtest/gc/shared/test_collectorPolicy.cpp +++ b/test/hotspot/gtest/gc/shared/test_collectorPolicy.cpp @@ -67,7 +67,7 @@ class TestGenCollectorPolicy { MinHeapSize = 40 * M; FLAG_SET_ERGO(InitialHeapSize, 100 * M); FLAG_SET_ERGO(NewSize, 1 * M); - FLAG_SET_ERGO(MaxNewSize, 40 * M); + FLAG_SET_ERGO(MaxNewSize, 50 * M); ASSERT_NO_FATAL_FAILURE(setter1->execute()); @@ -196,7 +196,7 @@ TEST_OTHER_VM(CollectorPolicy, young_cmd) { // If NewSize is set on command line, but is larger than the min // heap size, it should only be used for initial young size. - TestGenCollectorPolicy::SetNewSizeCmd setter_large(40 * M); - TestGenCollectorPolicy::CheckYoungInitial checker_large(40 * M); + TestGenCollectorPolicy::SetNewSizeCmd setter_large(50 * M); + TestGenCollectorPolicy::CheckYoungInitial checker_large(50 * M); TestGenCollectorPolicy::TestWrapper::test(&setter_large, &checker_large); }