RFR: 8261551: Remove special CDS handling in Metaspace::allocate [v2]

Ioi Lam iklam at openjdk.java.net
Thu Mar 25 17:12:46 UTC 2021


> Please review this simple patch to remove the special handling of OOM conditions inside `Metaspace::allocate()` for CDS archive dumping. Now the OOM exception will be thrown normally and will be handled by `MetaspaceShared::preload_and_dump()` and `ClassListParser::parse()`.

Ioi Lam has updated the pull request incrementally with one additional commit since the last revision:

  remove TRAPS from MetaspaceShared::preload_and_dump()

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/3185/files
  - new: https://git.openjdk.java.net/jdk/pull/3185/files/5708f5ef..b624b7e5

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=3185&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=3185&range=00-01

  Stats: 4 lines in 3 files changed: 1 ins; 0 del; 3 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3185.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3185/head:pull/3185

PR: https://git.openjdk.java.net/jdk/pull/3185


More information about the hotspot-runtime-dev mailing list