On Fri, 28 Feb 2025 01:40:34 GMT, Jiangli Zhou <jian...@openjdk.org> wrote:
> Please review the test fix that removes `libVThreadEventTest` explicit > dependency to `libjvm`, by removing the call to `JNI_GetCreatedJavaVMs` in > `Agent_OnAttach`. There is a `vm` argument passed via `Agent_OnAttach`. With > the change, `libVThreadEventTest` no longer needs to be linked with > `libjvm.so` (or `jvm.dll`). `VThreadEventTest.java` now runs on both dynamic > and static JDK. > > Tested on static JDK locally > GHA: > https://github.com/jianglizhou/jdk/actions/runs/13577993687/job/37960245161 This pull request has now been integrated. Changeset: bb70896e Author: Jiangli Zhou <jian...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/bb70896e356536477cfb770096fb769485edc55b Stats: 10 lines in 2 files changed: 0 ins; 9 del; 1 mod 8350903: Remove explicit libjvm.so dependency for libVThreadEventTest Reviewed-by: dholmes, alanb ------------- PR: https://git.openjdk.org/jdk/pull/23835