> 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).
Serguei Spitsyn has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains eight additional commits since the last revision: - Merge - review: minor spec tweaks - review: minor test tweaks: more checks, remove unneded code, add a comment with assumption - review: use non-identity object instead of value object - review: add explaining comment to new test - fix build error in new test on Windows - review: 1. minor tweaks for spec wording; 2. add note about preview features - 8382702: [lworld] Define VMObjectAlloc behavior for value objects ------------- Changes: - all: https://git.openjdk.org/valhalla/pull/2386/files - new: https://git.openjdk.org/valhalla/pull/2386/files/2fda2981..356a0404 Webrevs: - full: https://webrevs.openjdk.org/?repo=valhalla&pr=2386&range=06 - incr: https://webrevs.openjdk.org/?repo=valhalla&pr=2386&range=05-06 Stats: 75554 lines in 1133 files changed: 16827 ins; 55113 del; 3614 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
