RFR: 8065305 - Make it possible to extend the G1CollectorPolicy

Kirk Pepperdine kirk at kodewerk.com
Fri Nov 21 12:48:20 UTC 2014

>>>> Bug: https://bugs.openjdk.java.net/browse/JDK-8065305
>>>> Webrev: http://cr.openjdk.java.net/~jwilhelm/8065305/
>>> Looks okay. Do not really like the "Ext" name, but I do not have a
>>> better name right now.
>> What is the extension suppose to do?
> It will allow people who would like to experiment/implement their own G1 heuristics to do so without having to patch and merge every time theres an update to the G1 code. By adding overloading methods in G1CollectorPolicyExt conflicts with changes in the "normal code" is avoided.


> I know that some companies use these extension points to build their own proprietary features on top of OpenJDK for instance.

So this is a G1CollectorPolicyExtensionPoint???


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mail.openjdk.java.net/pipermail/hotspot-gc-dev/attachments/20141121/b524b781/signature.asc>

More information about the hotspot-gc-dev mailing list