RFR: 8280166: Extend java/lang/instrument/GetObjectSizeIntrinsicsTest.java test cases

Serguei Spitsyn sspitsyn at openjdk.java.net
Thu Jan 20 19:04:55 UTC 2022


On Tue, 18 Jan 2022 18:33:29 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> While working on JDK-8280003, I noticed that java/lang/instrument/GetObjectSizeIntrinsicsTest.java does not test arrays with more than 1-byte size elements, and no large arrays (past 4G limit) are tested either. It would be better to add those test cases. 
> 
> Additional testing:
>  - [x] Linux x86_64 fastdebug, affected test still passes
>  - [x] Linux x86_32 fastdebug, affected test still passes
>  - [x] Linux AArch64 fastdebug, affected test still passes
>  - [x] Linux PPC64 fastdebug, affected test still passes

Looks okay to me.
Thanks,
Serguei

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

Marked as reviewed by sspitsyn (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/7132


More information about the core-libs-dev mailing list