RFR: 8293563: [macos-aarch64] SA core file tests failing with sun.jvm.hotspot.oops.UnknownOopException
Chris Plummer
cjplummer at openjdk.org
Tue Sep 27 21:46:22 UTC 2022
JDK-8293563 is due to a macOS bug (or maybe a feature) that is resulting in the java heap not always being present in the core file. Running with `-XX:+AlwaysPreTouch` seems to work around this problem. This issue is only on macosx-aarch64, not x64.
-------------
Commit messages:
- Pretouch heap memory so it appears in the core dump.
Changes: https://git.openjdk.org/jdk/pull/10458/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10458&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8293563
Stats: 28 lines in 7 files changed: 13 ins; 0 del; 15 mod
Patch: https://git.openjdk.org/jdk/pull/10458.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/10458/head:pull/10458
PR: https://git.openjdk.org/jdk/pull/10458
More information about the serviceability-dev
mailing list