RFR (S) 8233086 [TESTBUG] need to test field layout style difference between CDS dump time and run time
Frederic Parain
frederic.parain at oracle.com
Wed Nov 6 17:57:23 UTC 2019
Looks good to me.
Typo in FieldLayoutFlags.java:94
we can it -> we can use it
Fred
> On Nov 5, 2019, at 23:14, Ioi Lam <ioi.lam at oracle.com> wrote:
>
> https://bugs.openjdk.java.net/browse/JDK-8233086
> http://cr.openjdk.java.net/~iklam/jdk14/8233086-cds-field-layout-test.v01/
>
> These VM options control how non-static fields are laid out.
>
> FieldsAllocationStyle
> CompactFields
> EnableContended
> ContendedPaddingWidth
> RestrictContended
>
> It's possible to set different values for these options between CDS
> dump time and program run time. As a result, it's possible to have
> an archived super class that has one type of field layout, while an
> non-archived sub class that has a different type of field layout.
>
> I added a new test case to verify that the VM works properly when this
> happens.
>
> Thanks
> - Ioi
More information about the hotspot-runtime-dev
mailing list