Relates :
|
|
Relates :
|
JDK-8072621 :
|
For collections caused by failed allocations there exist subclasses of VM_GC_Operation to perform the collection and allocation for the different GCs (GenCollectForAllocation, ParallelGCFailedAllocation, etc). Some of the code for these classes is duplicated and could instead be shared, for example by having a common CollectForAllocation superclass. This would also make it easier to add tracing for these operations.