RFR: 8308342: Remove MetaspaceClosure::Ref::keep_after_pushing()
Calvin Cheung
ccheung at openjdk.org
Fri May 19 21:12:48 UTC 2023
On Thu, 18 May 2023 05:12:35 GMT, Ioi Lam <iklam at openjdk.org> wrote:
> More CDS clean up:
>
> - Remove the field `SourceObjInfo::_ref` since we have already cached its contents in fields such as `SourceObjInfo::_msotype` and `SourceObjInfo::_source_addr`
> - Since there's no need to keep the `_ref` around, we can remove the `Ref::keep_after_pushing()` API.
> - Also `ArchiveBuilder::clean_up_src_obj_table()` is no longer necessary.
LGTM.
-------------
Marked as reviewed by ccheung (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/14042#pullrequestreview-1435140870
More information about the hotspot-runtime-dev
mailing list