|
1 | 1 | /*
|
2 |
| - * Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved. |
| 2 | + * Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved. |
3 | 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
4 | 4 | *
|
5 | 5 | * This code is free software; you can redistribute it and/or modify it
|
@@ -108,13 +108,12 @@ public static void main(String[] args) throws Exception {
|
108 | 108 | // Crash the VM in different ways in order to verify that DWARF parsing is able to print the source information
|
109 | 109 | // in the hs_err_files for each VM and C stack frame.
|
110 | 110 | private static void test() throws Exception {
|
111 |
| - runAndCheck(new Flags("-Xcomp", "-XX:CICrashAt=1", "--version")); |
| 111 | + runAndCheck(new Flags("-Xcomp", "-XX:+CICountNative", "-XX:CICrashAt=1", "--version")); |
112 | 112 | runAndCheck(new Flags("-Xmx100M", "-XX:ErrorHandlerTest=15", "-XX:TestCrashInErrorHandler=14", "--version"));
|
113 | 113 | runAndCheck(new Flags("-XX:+CrashGCForDumpingJavaThread", "--version"));
|
114 | 114 | runAndCheck(new Flags("-Xmx10m", "-XX:+CrashOnOutOfMemoryError", TestDwarf.class.getCanonicalName(), "outOfMemory"));
|
115 |
| - // Use -XX:-TieredCompilation as C1 is currently not aborting the VM (JDK-8264899). |
116 | 115 | runAndCheck(new Flags(TestDwarf.class.getCanonicalName(), "unsafeAccess"));
|
117 |
| - runAndCheck(new Flags("-XX:-TieredCompilation", "-XX:+UnlockDiagnosticVMOptions", "-XX:AbortVMOnException=MyException", |
| 116 | + runAndCheck(new Flags("-XX:+UnlockDiagnosticVMOptions", "-XX:AbortVMOnException=MyException", |
118 | 117 | TestDwarf.class.getCanonicalName(), "abortVMOnException"));
|
119 | 118 | if (Platform.isX64() || Platform.isX86()) {
|
120 | 119 | // Not all platforms raise SIGFPE but x86_32 and x86_64 do.
|
|
0 commit comments