Relates :
|
|
Relates :
|
|
Relates :
|
For each archived java object subgraph, a subgraph_info record is created and stored in the archive file at dump time. These records are searched at runtime to retrieve the information associated with a specific subgraph when it needs to be installed in the entry point (which is usually a static filed), triggered by a VM.initializeFromArchive() call. We use an array to store the subgraph_info records. Currently the number of archived subgraph_info records are small (< 10) and the overhead of the liner search is not heavy. When more subgraphs are archived in the future and the number of records grows, we should consider using a hashtable to store the archived subgraph info records.
|