• Home
    • View
    • Login
    This page
    • Normal
    • Export PDF
    • Export Word
    • Attachments
    • Page Information

    Loading...
  1. Dashboard
  2. HotSpot
  3. Main
  4. Runtime
  5. Application Class Data Sharing - AppCDS
  6. How CDS Copies Class Metadata into the Archive

Page History

Versions Compared

Old Version 3

changes.mady.by.user Ioi Lam

Saved on Jul 31, 2020

compared with

New Version Current

changes.mady.by.user Ioi Lam

Saved on Aug 10, 2020

  • Previous Change: Difference between versions 2 and 3
  • View Page History

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This step is implemented by ArchiveBuilder::gather_source_objs(), which iterates the metadata with ArchiveBuilder::iterate_sorted_roots(). All objects that are eligible for copying are entered (by reference) into ArchiveBuilder::_rw_src_objs or ArchiveBuilder::_rwro_src_objs, depending on whether they are read-write or read-only.

...

Here are the elapsed time of the following test cases (which archive more than 20000 classes) using fastdebug build:


LotsOfClasses.java

DynamicLotsOfClasses.java

Old42.655 sec67.014 sec
New37.027 sec34.974 sec




Overview
Content Tools
ThemeBuilder

Terms of Use • License: GPLv2 • Privacy • Trademarks • Contact Us

Powered by a free Atlassian Confluence Open Source Project License granted to https://www.atlassian.com/software/views/opensource-community-additional-license-offer. Evaluate Confluence today.

  • Adaptavist ThemeBuilder Powered by Atlassian Confluence 7.4.13
  • Adaptavist ThemeBuilder printed.by.atlassian.confluence
  • Report a bug
  • Atlassian News
Atlassian
Adaptavist ThemeBuilder EngineAtlassian Confluence
{"serverDuration": 201, "requestCorrelationId": "ce3c832bdef80ea1"}