mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-16 17:14:41 +02:00
8179064: TestInterpreterMethodEntries.java is missing -XX:+UnlockDiagnosticVMOptions
Reviewed-by: ctornqvi, gtriantafill
This commit is contained in:
parent
fbf3b4e67d
commit
2f0b3ae37d
1 changed files with 4 additions and 2 deletions
|
@ -62,6 +62,8 @@ public class TestInterpreterMethodEntries {
|
|||
}
|
||||
|
||||
private static void dumpAndUseSharedArchive(String dump, String use) throws Exception {
|
||||
String unlock = "-XX:+UnlockDiagnosticVMOptions";
|
||||
|
||||
String dumpFMA = "-XX:" + dump + "UseFMA";
|
||||
String dumpCRC32 = "-XX:" + dump + "UseCRC32Intrinsics";
|
||||
String dumpCRC32C = "-XX:" + dump + "UseCRC32CIntrinsics";
|
||||
|
@ -69,10 +71,10 @@ public class TestInterpreterMethodEntries {
|
|||
String useCRC32 = "-XX:" + use + "UseCRC32Intrinsics";
|
||||
String useCRC32C = "-XX:" + use + "UseCRC32CIntrinsics";
|
||||
|
||||
CDSTestUtils.createArchiveAndCheck(dumpFMA, dumpCRC32, dumpCRC32C);
|
||||
CDSTestUtils.createArchiveAndCheck(unlock, dumpFMA, dumpCRC32, dumpCRC32C);
|
||||
|
||||
CDSOptions opts = (new CDSOptions())
|
||||
.addPrefix(useFMA, useCRC32, useCRC32C, "-showversion")
|
||||
.addPrefix(unlock, useFMA, useCRC32, useCRC32C, "-showversion")
|
||||
.addSuffix("TestInterpreterMethodEntries", "run")
|
||||
.setUseVersion(false);
|
||||
CDSTestUtils.runWithArchiveAndCheck(opts);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue