[master] RFR: Enforce +UseCompressedClassPointers

Aleksey Shipilev shade at openjdk.java.net
Mon May 17 16:28:22 UTC 2021


On Mon, 17 May 2021 15:38:52 GMT, Roman Kennke <rkennke at openjdk.org> wrote:

> This change force-enables +UseCompressedClassPointers. This is required for the next step where we want to store the compressed class pointers into object headers. The change also removes test configurations that explicitely disable CCP.
> In the long run, we would remove the flag altogether, but not now.
> 
> Testing:
>  - [x] tier1
>  - [x] tier2

Marked as reviewed by shade (Committer).

src/hotspot/share/runtime/arguments.cpp line 4109:

> 4107: 
> 4108:   if (!FLAG_IS_DEFAULT(UseCompressedClassPointers) && !UseCompressedClassPointers) {
> 4109:     warning("Compressed class pointers are required with Lilliput build; ignoring UsCompressedClassPointers flag." );

Suggestion:

    warning("Compressed class pointers are required with Lilliput build; ignoring UsCompressedClassPointers flag.");

test/hotspot/jtreg/gc/metaspace/TestSizeTransitions.java line 81:

> 79:                   SIZE_TRANSITION_REGEX);
> 80: 
> 81:    // matches +coops metaspace size transitions

Suggestion:

  // matches +coops metaspace size transitions

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

PR: https://git.openjdk.java.net/lilliput/pull/5


More information about the lilliput-dev mailing list