RFR: 8280889: java/lang/instrument/GetObjectSizeIntrinsicsTest.java fails with -XX:-UseCompressedOops
Serguei Spitsyn
sspitsyn at openjdk.java.net
Sat Jan 29 01:11:11 UTC 2022
On Fri, 28 Jan 2022 15:37:59 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> Recent test regression after adding new cases in the test. Without compressed oops, ~1G elements `Object[]` array takes >8G of memory, which fails the test. The fix cuts it down to 512M when reference size is 8 bytes. Additionally, `ObjectAlignmentInBytes=32` is excessive for new test configs.
>
> Additional testing:
> - [x] Linux x86_64 fastdebug, default, affected test still passes
> - [x] Linux x86_32 fastdebug, default, affected test still passes
> - [x] Linux x86_64 fastdebug, `-XX:-UseCompressedOops`, affected test now passes
Looks good to me.
Thanks,
Serguei
-------------
Marked as reviewed by sspitsyn (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/7269
More information about the serviceability-dev
mailing list