RFR: 8330105: SharedRuntime::resolve* should respect interpreter-only mode

Tom Rodriguez never at openjdk.org
Fri Apr 12 15:06:50 UTC 2024


On Thu, 11 Apr 2024 13:50:25 GMT, Yudi Zheng <yzheng at openjdk.org> wrote:

> JavaThread::set_interp_only_mode may be called while a thread is blocked waiting for a JIT compilation to complete. When interpreter-only mode is set, we should dispatch to interpreter instead of the returned compiled code.

This looks good to me.  Any path that can directly dispatch to compiled code must respect is_interp_only_mode().

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

Marked as reviewed by never (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/18741#pullrequestreview-1994946752


More information about the hotspot-dev mailing list