RFR: 8134504: Remove usage of EvacuationInfo from G1CollectorPolicy

Mikael Gerdin mikael.gerdin at oracle.com
Wed Aug 26 14:20:22 UTC 2015


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.
/Mikael

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



More information about the hotspot-gc-dev mailing list