Duplicate :
|
|
Relates :
|
|
Relates :
|
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.
|