Integrated: 8261551: Remove special CDS handling in Metaspace::allocate

Ioi Lam iklam at openjdk.java.net
Fri Mar 26 03:40:27 UTC 2021


On Thu, 25 Mar 2021 01:50:49 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> 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()`.

This pull request has now been integrated.

Changeset: 41657b15
Author:    Ioi Lam <iklam at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/41657b15
Stats:     13 lines in 5 files changed: 1 ins; 7 del; 5 mod

8261551: Remove special CDS handling in Metaspace::allocate

Reviewed-by: minqi, dholmes, stuefe

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

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


More information about the hotspot-runtime-dev mailing list