RFR: 8134504: Remove usage of EvacuationInfo from G1CollectorPolicy

Erik Helin erik.helin at oracle.com
Wed Aug 26 13:56:24 UTC 2015


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/

Bug:
https://bugs.openjdk.java.net/browse/JDK-8134504

Testing:
JPRT

Thanks,
Erik


More information about the hotspot-gc-dev mailing list