Does the G1 Garbage Collector move memory during compaction?
ashipile at redhat.com
Thu Sep 8 09:02:36 UTC 2016
On 09/08/2016 11:54 AM, Jon V. wrote:
> I found some information that says that G1 does have compaction phases but
> there isn’t any mention of it actually moves data during compaction or not
> or if it just operates on lists?
I can't figure what is compaction if it does not actually moves the
data. Collectors move data a lot. See e.g. JOL  examples for object
promotion , compaction , and defragmentation .
More information about the hotspot-dev