RFR(XS): JDK-8229375 Memory corruption in the implementation of the stack walk API

Aleksey Shipilev shade at redhat.com
Fri Aug 9 17:08:32 UTC 2019


On 8/9/19 6:54 PM, Frederic Parain wrote:
> CR: https://bugs.openjdk.java.net/browse/JDK-8229375
> Webrev: http://cr.openjdk.java.net/~fparain/8229375/webrev.00/index.html

Oh wow. It apparently foobars the injected "version" field, see the comment in the issue.

The fix looks okay. Should we least assert the range of the int value we are storing there? Or even
make set_bci(oop, *short*)?

-- 
Thanks,
-Aleksey



More information about the hotspot-runtime-dev mailing list