RFR: 8280889: java/lang/instrument/GetObjectSizeIntrinsicsTest.java fails with -XX:-UseCompressedOops
Aleksey Shipilev
shade at openjdk.java.net
Mon Jan 31 08:53:10 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
Thanks!
-------------
PR: https://git.openjdk.java.net/jdk/pull/7269
More information about the core-libs-dev
mailing list