[jdk17u-dev] RFR: 8286490: JvmtiEventControllerPrivate::set_event_callbacks CLEARING_MASK computation is incorrect

Roman Marchenko rmarchenko at openjdk.org
Thu May 9 06:07:54 UTC 2024


On Fri, 8 Mar 2024 06:47:16 GMT, Roman Marchenko <rmarchenko at openjdk.org> wrote:

> This is a backport of JDK-8286490: JvmtiEventControllerPrivate::set_event_callbacks CLEARING_MASK computation is incorrect.
> 
> Backporting this because this issue can be reproduced in JDK17 as well.
> 
> The backport isn't clean:
> 1. Resolved a conflict in `src/hotspot/share/prims/jvmtiEventController.cpp` with an empty line.
> 2. Removed files as VThreads are not implemented in jdk17:
>       - `test/hotspot/jtreg/serviceability/jvmti/vthread/VThreadTest/libVThreadTest.cpp` 
>       - `test/hotspot/jtreg/serviceability/jvmti/vthread/VThreadTest/VThreadTest.java`
> 3. Added new test:
>       - `test/hotspot/jtreg/vmTestbase/nsk/jvmti/unit/extcallback/Test.java`
>       - `test/hotspot/jtreg/vmTestbase/nsk/jvmti/unit/extcallback/libextcallback.c`
>       - `test/hotspot/jtreg/vmTestbase/nsk/jvmti/unit/extcallback/loadClass/Test2.java`
> 
> Actually, backporting the fix only.
> The new test fails without the fix, and successfully passes with the fix.

Up

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

PR Comment: https://git.openjdk.org/jdk17u-dev/pull/2276#issuecomment-2102001807


More information about the jdk-updates-dev mailing list