RFR: 8065305 - Make it possible to extend the G1CollectorPolicy

Jesper Wilhelmsson jesper.wilhelmsson at oracle.com
Fri Nov 21 14:13:49 UTC 2014


Kirk Pepperdine skrev 21/11/14 13:48:
>>>>> 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.
> Interesting…
>
>> 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???

Yes.
/Jesper

>
> Regards,
> Kirk
>




More information about the hotspot-gc-dev mailing list