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

Yudi Zheng yzheng at openjdk.org
Fri Apr 12 15:06:51 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.

@dean-long we are seeing the same issue as JDK-8218403 . Graal thread blocks on Xcomp of an invokespecial to a random huge JDK method while interpreter-only mode is set. Could we simply use c2i entries in such cases? /cc @tkrodriguez

Thanks for the review! I ran jvmti and jdi-related tests on C2 and Graal. Only failures are timeouts due to known bugs.

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

PR Comment: https://git.openjdk.org/jdk/pull/18741#issuecomment-2049765962
PR Comment: https://git.openjdk.org/jdk/pull/18741#issuecomment-2051937479


More information about the hotspot-dev mailing list