On Fri, 8 May 2026 11:44:59 GMT, Paul Hübner <[email protected]> wrote:

> I'm prototyping a basic Java program that calls `System::identityHash` on a 
> very large structure twice, and ensures that the second call fails if the 
> first one does. AFAIU, this is _not_ the case before this fix.

Thats is correct, we would have read a garbage value out of the `JavaValue 
result` and write it into the markWord. 
The second call would just use that.

-------------

PR Comment: https://git.openjdk.org/valhalla/pull/2410#issuecomment-4406192343

Reply via email to