8311538: CDS InternSharedString test fails on huge pages host - cannot find shared string

Reviewed-by: iklam, mseledtsov
This commit is contained in:
Matias Saavedra Silva 2023-10-17 17:40:56 +00:00
parent 39e2b7a6d3
commit 61cc4a011e

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, 2023, 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
@ -26,7 +26,7 @@
* @test
* @summary Test shared strings together with string intern operation
* @requires vm.cds.write.archived.java.heap
* @requires vm.gc == null
* @requires vm.gc == null & !vm.opt.UseLargePages
* @library /test/hotspot/jtreg/runtime/cds/appcds /test/lib
* @compile InternStringTest.java
* @build jdk.test.whitebox.WhiteBox