As a suggested cleanup from JDK-8154154:
Make G1Policy prefer initialization through the initialization list instead of inline in the constructor.
Make G1Policy::init more explicit about its parameters by not looking up the heap object through the static accessor.
Make G1Policy prefer initialization through the initialization list instead of inline in the constructor.
Make G1Policy::init more explicit about its parameters by not looking up the heap object through the static accessor.