On Thu, 23 Nov 2023 10:25:31 GMT, Alan Bateman <al...@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 <al...@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