From dde519dc2180742c119ac07221c2a149b9f06c18 Mon Sep 17 00:00:00 2001 From: Jaikiran Pai Date: Fri, 15 Mar 2024 12:00:32 +0000 Subject: [PATCH] 8328066: WhiteBoxResizeTest failure on linux-x86: Could not reserve enough space for 2097152KB object heap Reviewed-by: dfuchs, aph, msheppar --- test/jdk/java/util/HashMap/WhiteBoxResizeTest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/jdk/java/util/HashMap/WhiteBoxResizeTest.java b/test/jdk/java/util/HashMap/WhiteBoxResizeTest.java index e04b9d680d1..e517d5570d0 100644 --- a/test/jdk/java/util/HashMap/WhiteBoxResizeTest.java +++ b/test/jdk/java/util/HashMap/WhiteBoxResizeTest.java @@ -1,6 +1,6 @@ /* * Copyright (c) 2018, Red Hat, Inc. All rights reserved. - * Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2022, 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 @@ -55,6 +55,8 @@ import static org.testng.Assert.assertThrows; * @bug 8186958 8210280 8281631 8285386 8284780 * @modules java.base/java.util:open * @summary White box tests for HashMap-related internals around table sizing + * @comment skip running this test on 32 bit VM + * @requires vm.bits == "64" * @run testng/othervm -Xmx2g WhiteBoxResizeTest */ public class WhiteBoxResizeTest {