This PR implements two JVMTI enhancements: [8382702](https://bugs.openjdk.org/browse/JDK-8382702) and [8381063](https://bugs.openjdk.org/browse/JDK-8381063)
The update includes the following changes: - add spec clarifications for `VMObjectAlloc` and `SampledObjectAlloc` related to value object allocations - pass `nullptr` for `jobject` parameter of `VMObjectAlloc` and `SampledObjectAlloc` event callbacks - add test coverage with value object allocations for both event callbacks Testing: - Test locally with newly added tests - Run mach5 tiers 1-6 --------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - 8382702: [lworld] Define VMObjectAlloc behavior for value objects Changes: https://git.openjdk.org/valhalla/pull/2386/files Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=2386&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8382702 Stats: 366 lines in 6 files changed: 365 ins; 0 del; 1 mod Patch: https://git.openjdk.org/valhalla/pull/2386.diff Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2386/head:pull/2386 PR: https://git.openjdk.org/valhalla/pull/2386
