[master] RFR: Fix some tests to work with +UseCompressedClassPointers
Aleksey Shipilev
shade at openjdk.java.net
Tue Oct 12 12:56:22 UTC 2021
On Tue, 12 Oct 2021 12:02:16 GMT, Roman Kennke <rkennke at openjdk.org> wrote:
> Some tests assume -UseCompressedClassPointers, but we're forcing +UseCompressedClassPointers, so let's fix those tests.
>
> Testing:
> - [x] tier1
> - [x] tier2
> - [x] jdk/jfr
> - [x] testlibrary_tests/ir_framework/tests
Looks fine, modulo a question.
test/jdk/jdk/jfr/event/gc/objectcount/ObjectCountEventVerifier.java line 73:
> 71: boolean runsOn32Bit = System.getProperty("sun.arch.data.model").equals("32");
> 72: int bytesPerWord = runsOn32Bit ? 4 : 8;
> 73: int objectHeaderSize = bytesPerWord * 2; // length will be in klass-gap
Would it be in klass-gap on x86_32? Run this test on x86_32 to confirm?
-------------
Marked as reviewed by shade (Committer).
PR: https://git.openjdk.java.net/lilliput/pull/19
More information about the lilliput-dev
mailing list