Integrated: 8320652: ThreadInfo.isInNative needs to be updated to say what executing native code means
Alan Bateman
alanb at openjdk.org
Tue Dec 5 12:14:47 UTC 2023
On Thu, 23 Nov 2023 10:25:31 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> This is a docs only change to j.l.management.ThreadInfo::isInNative.
>
> The method currently specifies that it tests if the thread is "executing native code via the Java Native Interface (JNI)". It would be clearer to say that it tests if the thread is executing a native method, and expand it to include native code invoked using the new foreign linker APIs. For now, I've left out the detail of a downcall handle created with the "critical" linker option.
This pull request has now been integrated.
Changeset: 4fbf22b0
Author: Alan Bateman <alanb at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/4fbf22b002dab3c6e7e20ed9c7fa4551b6350082
Stats: 16 lines in 1 file changed: 11 ins; 0 del; 5 mod
8320652: ThreadInfo.isInNative needs to be updated to say what executing native code means
Reviewed-by: mchung
-------------
PR: https://git.openjdk.org/jdk/pull/16791
More information about the serviceability-dev
mailing list