JDK-7133390 : De-duplication of Fields of Immutable Objects (Strings)
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 7u2
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux
  • CPU: x86
  • Submitted: 2012-01-25
  • Updated: 2016-05-24
  • Resolved: 2016-05-24
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8.4Fixed
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
See attachments for a detailed description.

The basic idea is to scan the heap's old collection for immutable objects (e.g. Strings).  When duplicate Strings are identified, force them to share the char[].  This idea doesn't apply strictly to Strings.

Comments
String deduplication for G1 has been implemented in JDK-8029075.
03-09-2014