mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
8355228: Improve runtime/CompressedOops/CompressedClassPointersEncodingScheme.java to support JDK build with -XX:+UseCompactObjectHeaders
Reviewed-by: syan, stuefe, coleenp
This commit is contained in:
parent
32a597b36f
commit
1a72febc97
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2013, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2013, 2025, 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
|
||||
@ -74,7 +74,9 @@ public class CompressedClassPointersEncodingScheme {
|
||||
private static void testFailure(String forceAddressString) throws IOException {
|
||||
ProcessBuilder pb = ProcessTools.createLimitedTestJavaProcessBuilder(
|
||||
"-Xshare:off", // to make CompressedClassSpaceBaseAddress work
|
||||
"-XX:+UnlockExperimentalVMOptions",
|
||||
"-XX:+UnlockDiagnosticVMOptions",
|
||||
"-XX:-UseCompactObjectHeaders",
|
||||
"-XX:CompressedClassSpaceBaseAddress=" + forceAddressString,
|
||||
"-Xmx128m",
|
||||
"-Xlog:metaspace*",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user