This update address two enhancements: - [8380075](https://bugs.openjdk.org/browse/JDK-8380075) [lworld] JVMTI should not send ObjectFree events for value objects - [8384049](https://bugs.openjdk.org/browse/JDK-8384049) [lworld] Minor GetLocalObject/GetLocalInstance spec wording update
The first one adds an `ObjectFree` event spec clarification that only identity objects are supported by this event. The second one just slightly reformulates previously added spec clarifications for the JVMTI `GetLocalObject` and `GetLocalInstance` functions, underlying that they work only when preview features are enabled. The `ObjectFree` implementation does not need any matching update. Strong references are used for value objects instead of weak references in the `JvmtiTagMap`, so the value objects are kept alive while they are listed in the `JvmtiTagMap`. This means there are no `ObjectFree` events can be generated for value objects. Testing: - No testing is needed for pure spec wording changes --------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - 8380075: [lworld] JVMTI should not send ObjectFree events for value objects Changes: https://git.openjdk.org/valhalla/pull/2412/files Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=2412&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8380075 Stats: 5 lines in 1 file changed: 1 ins; 0 del; 4 mod Patch: https://git.openjdk.org/valhalla/pull/2412.diff Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2412/head:pull/2412 PR: https://git.openjdk.org/valhalla/pull/2412
