RFR: 8047819: G1 HeapRegionDCTOC does not need to inherit ContiguousSpaceDCTOC

Thomas Schatzl thomas.schatzl at oracle.com
Tue Jun 24 12:25:13 UTC 2014


Hi,

On Mon, 2014-06-23 at 16:25 +0200, Mikael Gerdin wrote:
> Hi!
> 
> As part of a larger effort to detach G1's HeapRegion from ContiguousSpace[1]
> G1 needs to stop using the special version of DirtyCardToOopClosure.
> This also makes the code more easy to follow since G1 never actually 
> relies on the functionality from Filtering_DCTOC and ContiguousSpaceDCTOC.
> 
> This change is part of a set of 4 changes: 8047818, 8047819, 8047820, 8047821 
> which are needed to refactor the HeapRegion class and its superclasses 
> in order to simplify the G1 class unloading change which is coming.
> 
> Bug:
> https://bugs.openjdk.java.net/browse/JDK-8047819
> Webrev:
> http://cr.openjdk.java.net/~mgerdin/8047819/webrev/
> 
> [1] https://bugs.openjdk.java.net/browse/JDK-8047818

  looks good.

Thomas




More information about the hotspot-gc-dev mailing list