8328066: WhiteBoxResizeTest failure on linux-x86: Could not reserve enough space for 2097152KB object heap

Reviewed-by: dfuchs, aph, msheppar
This commit is contained in:
Jaikiran Pai 2024-03-15 12:00:32 +00:00
parent 80ccc989a8
commit dde519dc21

View File

@ -1,6 +1,6 @@
/* /*
* Copyright (c) 2018, Red Hat, Inc. All rights reserved. * 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. * 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
@ -55,6 +55,8 @@ import static org.testng.Assert.assertThrows;
* @bug 8186958 8210280 8281631 8285386 8284780 * @bug 8186958 8210280 8281631 8285386 8284780
* @modules java.base/java.util:open * @modules java.base/java.util:open
* @summary White box tests for HashMap-related internals around table sizing * @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 * @run testng/othervm -Xmx2g WhiteBoxResizeTest
*/ */
public class WhiteBoxResizeTest { public class WhiteBoxResizeTest {