Test runtime/cds/appcds/aotClassLinking/AOTClassLinkingVMOptions.java fails "VM option 'AOTInvokeDynamicLinking' is diagnostic and must be enabled via -XX:+UnlockDiagnosticVMOptions"
Test log snippet:
[logging stderr to /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/runtime/cds/appcds/aotClassLinking/AOTClassLinkingVMOptions/runtime.cds.appcds.aotClassLinking.AOTClassLinkingVMOptions.java-0006-dump.stderr]
[STDERR]
Error: VM option 'AOTInvokeDynamicLinking' is diagnostic and must be enabled via -XX:+UnlockDiagnosticVMOptions.
Error: The unlock option must precede 'AOTInvokeDynamicLinking'.
Improperly specified VM option 'AOTInvokeDynamicLinking'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Test log snippet:
[logging stderr to /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/runtime/cds/appcds/aotClassLinking/AOTClassLinkingVMOptions/runtime.cds.appcds.aotClassLinking.AOTClassLinkingVMOptions.java-0006-dump.stderr]
[STDERR]
Error: VM option 'AOTInvokeDynamicLinking' is diagnostic and must be enabled via -XX:+UnlockDiagnosticVMOptions.
Error: The unlock option must precede 'AOTInvokeDynamicLinking'.
Improperly specified VM option 'AOTInvokeDynamicLinking'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
- caused by
-
JDK-8348322 AOT cache creation crashes with "All cached hidden classes must be aot-linkable" when AOTInvokeDynamicLinking is disabled
-
- Resolved
-
- links to
-
Commit(master) openjdk/jdk/062b7c73
-
Review(master) openjdk/jdk/23883