CollectedHeap has accumulated some non-interface code.
We would like to keep CollectedHeap an interface, so we
should move this code into another class.
We would like to keep CollectedHeap an interface, so we
should move this code into another class.