RFR: 8257910: [JVMCI] Set exception_seen accordingly in the runtime.

Vladimir Kozlov kvn at openjdk.java.net
Wed Dec 9 18:33:38 UTC 2020


On Wed, 9 Dec 2020 10:03:48 GMT, Yudi Zheng <yzheng at openjdk.org> wrote:

> Update exception_seen flag in the MDO when no exception handler is found for caller during deoptimization, or when exception is thrown in the runtime.
> 
> Plus, `-Xlog:exceptions=info` code and `AbortVMOnException` are adjusted in C1 runtime and jvmci runtime to be consistent with C2, i.e., before `JvmtiExport::can_post_on_exceptions` deoptimization and fast continuation when compiled handler is found.

Changes requested by kvn (Reviewer).

src/hotspot/share/runtime/sharedRuntime.cpp line 604:

> 602: 
> 603: #if INCLUDE_JVMCI
> 604:   if (EnableJVMCI) {

I think this should also check `&& UseJVMCICompiler`

-------------

PR: https://git.openjdk.java.net/jdk/pull/1713


More information about the hotspot-dev mailing list