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

Aleksey Shipilev shade at openjdk.java.net
Tue Jan 25 19:26:41 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

This pull request has now been integrated.

Changeset: 76fe03fe
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/76fe03fe01a7c824e2e9263de95b8bcbb4b9d752
Stats:     89 lines in 1 file changed: 62 ins; 0 del; 27 mod

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

Reviewed-by: sspitsyn, lmesnik

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

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


More information about the core-libs-dev mailing list