Request for review: 8006629: NEED_TEST: need test for JDK-8001071

Filipp Zhinkin filipp.zhinkin at
Mon Jan 21 03:19:25 PST 2013

Hi all,

Would someone review the following regression test please?

Test checks that debug VM will crashed on assert if offset
passed to Unsafe's access methods is bigger than object size.

To ensure that it is true, shell script execute Test8001071
which tries to get object from huge offset.

Only one Unsafe's method is checked because all other
methods uses the same mechanism to get OOP from object
using passed offset.

Test passes only if hs_err_pid* file created and it contains
tested assert. Test will also pass if product VM is tested.


More information about the hotspot-runtime-dev mailing list