Hi, This PR specifies the restrictions on the instance returned by `Unsafe::allocateInstance` and the possible consequences of ill-formed program and undefined behavior.
Please take a look and leave your review, thanks a lot. ------------- Commit messages: - Specify the behavior of the instance returned by allocateInstance Changes: https://git.openjdk.org/valhalla/pull/2205/files Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=2205&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8379406 Stats: 63 lines in 2 files changed: 55 ins; 0 del; 8 mod Patch: https://git.openjdk.org/valhalla/pull/2205.diff Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2205/head:pull/2205 PR: https://git.openjdk.org/valhalla/pull/2205
