[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-hotspot-runtime-dev
Subject: Re: RFR: 8269416: [JVMCI] capture libjvmci crash data to a file [v5]
From: Doug Simon <dnsimon () openjdk ! java ! net>
Date: 2021-06-30 12:38:31
Message-ID: vJYQb3lU4n47RP_APzGbHrUUyVYdWbsBAHsc6r8h6y8=.a37e0ce2-54ce-4f18-b49f-5bda2a9b3fae () github ! com
[Download RAW message or body]
> When a fatal error occurs in libgraal, it writes a crash dump to `tty`. Instead, it \
> should be captured in a separate log file that is then referenced in the HotSpot \
> crash summary (just like the hs_err_pid and CI replay compile log files are). This \
> allows libgraal crash data to be more easily submitted along with VM crash reports. \
> For example:
>
> > java -Dlibgraal.CrashAtIsFatal=true -Dgraal.CrashAt=String.equals -cp bin \
> > CountUppercase skjdf
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> # Internal Error (jvmciRuntime.cpp:909), pid=36298, tid=41219
> # fatal error: thread 41219: Fatal error in JVMCI shared library
> #
> # JRE version: OpenJDK Runtime Environment GraalVM LIBGRAAL 21.3.0-dev (16.0.2) \
> (build 16.0.2-internal+0-adhoc.dnsimon.labsjdk-ce-16) # Java VM: OpenJDK 64-Bit \
> Server VM GraalVM LIBGRAAL 21.3.0-dev \
> (16.0.2-internal+0-adhoc.dnsimon.labsjdk-ce-16, mixed mode, tiered, jvmci, jvmci \
> compiler, compressed oops, compressed class ptrs, g1 gc, bsd-amd64) # No core dump \
> will be written. Core dumps have been disabled. To enable core dumping, try "ulimit \
> -c unlimited" before starting Java again #
> # An error report file with more information is saved as:
> # /Users/dnsimon/graal/graal/compiler/hs_err_pid36298.log
> #
> # The JVMCI shared library error data is saved as:
> # /Users/dnsimon/graal/graal/compiler/hs_err_pid36298_libjvmci.log
> #
> # If you would like to submit a bug report, please visit:
> # https://bugreport.java.com/bugreport/crash.jsp
> # The crash happened outside the Java Virtual Machine in native code.
> # See problematic frame for where to report the bug.
> #
Doug Simon has updated the pull request incrementally with one additional commit \
since the last revision:
avoid allocating name_buffer when using ErrorFileToStdout/err
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/4620/files
- new: https://git.openjdk.java.net/jdk/pull/4620/files/fac6c3dc..b9f27c7c
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=4620&range=04
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=4620&range=03-04
Stats: 2 lines in 1 file changed: 1 ins; 1 del; 0 mod
Patch: https://git.openjdk.java.net/jdk/pull/4620.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/4620/head:pull/4620
PR: https://git.openjdk.java.net/jdk/pull/4620
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic