RFR: 8372552: unhandled oop in the JvmtiEventController::set_user_enabled

Leonid Mesnik lmesnik at openjdk.org
Wed Nov 26 04:48:17 UTC 2025


The issue reproduced by running test 
vmTestbase/nsk/jvmti/AttachOnDemand/attach022[1]/TestDescription.java
with `-XX:+CheckUnhandledOops`.

No need to flush object free events during VM init. So it is fine to move it after handling the oop.

Testing with tier1-5.

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

Commit messages:
 - fixed handling

Changes: https://git.openjdk.org/jdk/pull/28500/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28500&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8372552
  Stats: 10 lines in 1 file changed: 5 ins; 4 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/28500.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28500/head:pull/28500

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


More information about the hotspot-dev mailing list