Request for review: 8006629: NEED_TEST: need test for JDK-8001071
Vladimir Kozlov
vladimir.kozlov at oracle.com
Tue Jan 22 11:02:06 PST 2013
Filipp,
You should never use BIT_FLAG! You should use ${TESTVMOPTS} to test
correct VM.
Vladimir
On 1/21/13 3:19 AM, Filipp Zhinkin wrote:
> 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.
>
> http://cr.openjdk.java.net/~kshefov/8001071/webrev.00/
>
> Thanks,
> Filipp.
More information about the hotspot-runtime-dev
mailing list