Integrated: 8345422: Fix JNI Checker "in native method" warnings in the debug agent and debugger tests

Chris Plummer cjplummer at openjdk.org
Thu Dec 5 03:36:50 UTC 2024


On Tue, 3 Dec 2024 20:16:33 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

> The root cause of [JDK-8344804](https://bugs.openjdk.org/browse/JDK-8344804) seems to be some JNI Checker warnings. I decided to resolve all the warnings in the debug agent and debugger tests that start with "in native method". This seems to have resolved [JDK-8344804](https://bugs.openjdk.org/browse/JDK-8344804) failure. There are still other JNI Checker warnings present that are not being dealt with at this time.
> 
> Testing:
> - [x] All tier1
> - [x] All tier2 svc tests
> - [x] All tier3 svc tests
> - [x] All tier4, which is where [JDK-8344804](https://bugs.openjdk.org/browse/JDK-8344804) reproduced
> - [x] All tier5 svc tests

This pull request has now been integrated.

Changeset: 77cfcee8
Author:    Chris Plummer <cjplummer at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/77cfcee8a1e571d32a1cf28926128edb97fcd696
Stats:     109 lines in 9 files changed: 64 ins; 24 del; 21 mod

8345422: Fix JNI Checker "in native method" warnings in the debug agent and debugger tests
8344804: Test serviceability/jdwp/AllModulesCommandTest.java times out after JNI check warning

Reviewed-by: amenkov, dholmes

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

PR: https://git.openjdk.org/jdk/pull/22528


More information about the hotspot-runtime-dev mailing list