Duplicate :
|
|
Relates :
|
The SharedHeap class does not contain a large amount of code and the use of inheritance to share functionality is not really good practice. Move the last pieces of code out of SharedHeap to G1/GenCollectedHeap and remove the class altogether.