[jdk17u-dev] RFR: 8285794: AsyncGetCallTrace might acquire a lock via JavaThread::thread_from_jni_environment
Martin Doerr
mdoerr at openjdk.org
Fri Nov 11 12:19:11 UTC 2022
On Fri, 23 Sep 2022 13:34:35 GMT, Johannes Bechberger <duke at openjdk.org> wrote:
> Fixes the minor possibility of ASGCT acquiring a lock.
>
> Tested using my jdk profiling tester.
LGTM.
src/hotspot/share/prims/forte.cpp line 532:
> 530:
> 531: if (trace->env_id == NULL || raw_thread == NULL || !raw_thread->is_Java_thread() ||
> 532: (thread = ((JavaThread*)raw_thread))->is_exiting()) {
One minor diff: indentation
-------------
Marked as reviewed by mdoerr (Reviewer).
PR: https://git.openjdk.org/jdk17u-dev/pull/725
More information about the jdk-updates-dev
mailing list