< prev index next >

test/runtime/SharedArchiveFile/SharedStrings.java

Print this page
rev 13329 : 8185436: jtreg: introduce @requires property to disable cds tests
Summary: Fix CompressedClassPointers test to succeed also if cds is not available.

*** 19,30 **** * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ ! /* * @test * @summary Check to make sure that shared strings in the bootstrap CDS archive * are actually shared * Feature support: G1GC only, compressed oops/kptrs, 64-bit os, not on windows * @requires (sun.arch.data.model != "32") & (os.family != "windows") * @requires (vm.opt.UseCompressedOops == null) | (vm.opt.UseCompressedOops == true) --- 19,31 ---- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ ! /** * @test + * @requires vm.cds * @summary Check to make sure that shared strings in the bootstrap CDS archive * are actually shared * Feature support: G1GC only, compressed oops/kptrs, 64-bit os, not on windows * @requires (sun.arch.data.model != "32") & (os.family != "windows") * @requires (vm.opt.UseCompressedOops == null) | (vm.opt.UseCompressedOops == true)
< prev index next >