RFR: 8134504: Remove usage of EvacuationInfo from G1CollectorPolicy

Erik Helin erik.helin at oracle.com
Thu Aug 27 07:32:58 UTC 2015


On 2015-08-26, Mikael Gerdin wrote:
> Hi Erik,
> 
> On 2015-08-26 15:56, Erik Helin wrote:
> >Hi all,
> >
> >this tiny patch cleans up the relationship between the classes
> >EvacuationInfo and G1CollectorPolicy. There is no need for the
> >G1CollectorPolicy to take EvacuationInfo objects as arguments in two
> >methods just to fill in some data, it just complicates the signature of
> >those methods. With the patch the data is retrieved from the
> >G1CollectorPolicy using getters instead.
> >
> >Webrev:
> >http://cr.openjdk.java.net/~ehelin/8134504/webrev.00/
> 
> Looks good to me.

Thanks for reviewing!
Erik

> /Mikael
> 
> >
> >Bug:
> >https://bugs.openjdk.java.net/browse/JDK-8134504
> >
> >Testing:
> >JPRT
> >
> >Thanks,
> >Erik
> >
> 


More information about the hotspot-gc-dev mailing list