[jdk8u-dev] RFR: 8217850: CompressedClassSpaceSizeInJmapHeap fails after JDK-8217612

ktakakuri duke at openjdk.org
Fri Jan 26 04:27:49 UTC 2024


Hi all,

This is a backport of JDK-8217850: CompressedClassSpaceSizeInJmapHeap fails after JDK-8217612  
The bug reported is reproducible in JDK8, so this follow-up patch for JDK-8217612 is needed.

The original patch does not apply cleanly. The Long.parseUnsignedLong method was introduced in JDK8, so building with JDK7 as the boot-jdk cannot utilize this method. I have introduced an alternative private method to Long.parseUnsignedLong. This is almost a duplicate of Long.parseUnsignedLong(String s, int radix), but it is necesary to replace compareUnsigned(long x, long y) and NumberFormatException.forInputString(s) with their respective implementations.

Thank you.

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

Depends on: https://git.openjdk.org/jdk8u-dev/pull/431

Commit messages:
 - Backport 49c91b7f9522a991bcac789b9fcccfee8bf08b5d

Changes: https://git.openjdk.org/jdk8u-dev/pull/433/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=433&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8217850
  Stats: 60 lines in 1 file changed: 59 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk8u-dev/pull/433.diff
  Fetch: git fetch https://git.openjdk.org/jdk8u-dev.git pull/433/head:pull/433

PR: https://git.openjdk.org/jdk8u-dev/pull/433


More information about the jdk8u-dev mailing list