Skip to content

Commit

Permalink
Fix test/hotspot/jtreg/runtime/CompressedOops/CompressedClassPointers…
Browse files Browse the repository at this point in the history
…EncodingScheme.java
  • Loading branch information
tstuefe authored and rkennke committed Sep 16, 2024
1 parent a191abc commit 49c8754
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,11 @@ public static void main(String[] args) throws Exception {
}
// add more...

// Compact Object Header Mode with tiny classpointers
// On all platforms we expect the VM to chose the smallest possible shift value needed to cover the encoding range
long forceAddress = 30 * G;
// Compact Object Header Mode:
// On all platforms we expect the VM to chose the smallest possible shift value needed to cover
// the encoding range. We expect the encoding Base to start at the class space start - but to enforce that,
// we choose a high address.
long forceAddress = 32 * G;

long ccsSize = 128 * M;
int expectedShift = 6;
Expand Down

0 comments on commit 49c8754

Please sign in to comment.