RFR: 8282607: runtime/ErrorHandling/MachCodeFramesInErrorFile.java failed with "RuntimeException: 0 < 2"
Doug Simon
dnsimon at openjdk.java.net
Wed May 11 15:18:45 UTC 2022
On Wed, 11 May 2022 12:29:38 GMT, David Holmes <dholmes at openjdk.org> wrote:
> ... this begs the question as to why the hs_err file is truncated
I don't know but I left a few guesses in [this comment](https://bugs.openjdk.java.net/browse/JDK-8282607?focusedCommentId=14495313&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14495313):
* Is register x14 special on macosx-aarch64?
* Could this be a missing WX transition in hs-err dumping?
* Or some unsafe memory access in [os::print_location](https://github.com/openjdk/jdk/blob/73c5e993e17f7435553edae79a1e8d70ece5493d/src/hotspot/share/runtime/os.cpp#L1072)?
> It seems to always be macos or bsd. Should this also check for bsd ?
I haven't seen any instances of it failing on bsd so would prefer to keep the workaround specific to macOS.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8650
More information about the hotspot-runtime-dev
mailing list