CDS archives now allocate specific space on the heap for strings:
The string space is mapped using a shared-string table, hash tables, and deduplication.
Deduplication is a data compression technique that eliminates duplicative information in an archive.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.