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

Kazuhisa Takakuri ktakakuri at openjdk.org
Mon Apr 8 12:19:43 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.

Kazuhisa Takakuri has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:

 - Merge branch 'master' into 8217850
 - Backport 49c91b7f9522a991bcac789b9fcccfee8bf08b5d
 - d6a75a0f86d4c84132a3794c432b34068163fa60

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

Changes:
  - all: https://git.openjdk.org/jdk8u-dev/pull/433/files
  - new: https://git.openjdk.org/jdk8u-dev/pull/433/files/ccb8463a..be3e6030

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=433&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=433&range=00-01

  Stats: 9273 lines in 512 files changed: 4235 ins; 3728 del; 1310 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