From 9b436d048ec92f74ec6812ae20fde21751927d4b Mon Sep 17 00:00:00 2001 From: Martin Doerr Date: Thu, 6 Jun 2024 15:34:46 +0000 Subject: [PATCH] 8333674: Disable CollectorPolicy.young_min_ergo_vm for PPC64 Reviewed-by: mbaesken, zgu --- test/hotspot/gtest/gc/shared/test_collectorPolicy.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/hotspot/gtest/gc/shared/test_collectorPolicy.cpp b/test/hotspot/gtest/gc/shared/test_collectorPolicy.cpp index 58ff433083c..40df20ba964 100644 --- a/test/hotspot/gtest/gc/shared/test_collectorPolicy.cpp +++ b/test/hotspot/gtest/gc/shared/test_collectorPolicy.cpp @@ -214,12 +214,15 @@ class TestGenCollectorPolicy { // If NewSize has been ergonomically set, the collector policy // should use it for min +// This test doesn't work with 64k pages. See JDK-8331675. +#if !defined(PPC) TEST_VM(CollectorPolicy, young_min_ergo) { TestGenCollectorPolicy::SetNewSizeErgo setter(20 * M); TestGenCollectorPolicy::CheckYoungMin checker(20 * M); TestGenCollectorPolicy::TestWrapper::test(&setter, &checker); } +#endif // If NewSize has been ergonomically set, the collector policy // should use it for min but calculate the initial young size