On Thu, 2 Jul 2026 09:23:07 GMT, Alan Bateman <[email protected]> wrote:
> The Object Tags section introduces object tagging but doesn't say anything > about the ObjectFree event and that it is not sent for tagged value objects. > > In the ObjectFree event description the current text is more of a note at the > end. This is replaced with a paragraph that makes it clear that the event is > not sent for value objects. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). The spec update looks good to me. The value object aware agents which depend om the `ObjectFree` event hooks to de-allocate native memory bound to the tagged objects can iterate over the value object related tagmap elements in order to work around the absence of the `ObjectFree` event hooks for value objects. I'm not sure if we need to add anything about it into the JVMTI spec. ------------- Marked as reviewed by sspitsyn (Committer). PR Review: https://git.openjdk.org/valhalla/pull/2615#pullrequestreview-4619423095
