RFR[S] 8210295 Refactor HeapShared::archive_reachable_objects_from_static_field
ioi.lam at oracle.com
Mon Sep 3 08:04:14 UTC 2018
This RFE is withdrawn.
I will roll the refactoring into my patch for JDK-8210289
"ArchivedKlassSubGraphInfoRecord is incomplete".
On 9/2/18 12:38 PM, Ioi Lam wrote:
> [re-sending to include bug ID in e-mail subject]
> Currently, the only way to archive an object subgraph is to call
> HeapShared::archive_reachable_objects_from_static_field, which
> requires the root to be in a static field of a Java class.
> To support JDK-8198698 (Archive Lambda classes in CDS), we need to
> archive subgraphs from other sources, such as objects stored in
> This is intended to be a clean-up only, with no change in functionality.
> I moved the common code into a new method
> In doing so, I was able to consolidate some code that was duplicated
> archive_reachable_objects_from_static_field and WalkOopAndArchiveClosure.
> + removed some obsolete comments (e.g., "only ArchivedModuleGraph is
> + moved excessive tracing code from Debug to Trace
> + improve the alignment of some logs to make them more readable
> - Ioi
More information about the hotspot-runtime-dev