[foreign-abi] Integrated: Transition back to java on safepoint poll slow-path when returning from an optimized native call
Jorn Vernee
jvernee at openjdk.java.net
Mon Sep 28 11:19:42 UTC 2020
On Mon, 28 Sep 2020 11:03:57 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:
> Hi,
>
> Due to a bug report last week, it was found that threads do not transition back to the _thread_in_java state on the
> safepoint poll slow path after returning from an optimized native call.
> While I was not able to reproduce the crash in question so far, the current code is obviously wrong, since the thread
> state transition back only happens on the fast path.
> This patch rectifies that issue.
>
> Thanks,
> Jorn
This pull request has now been integrated.
Changeset: 48f5c38a
Author: Jorn Vernee <jvernee at openjdk.org>
URL: https://git.openjdk.java.net/panama-foreign/commit/48f5c38a
Stats: 5 lines in 1 file changed: 3 ins; 2 del; 0 mod
Transition back to java on safepoint poll slow-path when returning from an optimized native call
Reviewed-by: mcimadamore
-------------
PR: https://git.openjdk.java.net/panama-foreign/pull/356
More information about the panama-dev
mailing list