RFR (XXS): 8136680: Enable adaptive IHOP by default
jon.masamitsu at oracle.com
Tue Nov 24 18:33:32 UTC 2015
Thomas, Looks good.
36 product(bool, G1UseAdaptiveIHOP, true, \
37 "Adaptively adjust InitiatingHeapOccupancyPercent from the " \
38 "initial value. The policy tries to start marking as late as " \
Let me suggest an alternate comment though.
"Dynamically adjust the initiating heap occupancy from the initial
InitiatingHeapOccupancyPercent. The policy attempts to start marking in
time based on application behavior."
Do we need G1 in the name of the flag? Would UseAdaptiveIHOP be
sufficient? Or maybe UseDynamicIHOP? Or (I write this with some
trepidation) would the flag be better named
I'm asking the question now because I don't want to ask it the next time
we do a cleanup of flag names. I can live with any of the above.
On 11/24/2015 02:14 AM, Thomas Schatzl wrote:
> Hi all,
> can I have reviews for the following small change that enables
> adaptive IHOP by default by setting G1UseAdaptiveIHOP to true by
> This feature improves usability of G1 as the user does not need to care
> about the InitiatingHeapOccupancyPercent option any more. It will be set
> automatically based on predictions of previous application behavior.
> The existing InitiatingHeapOccupancyPercent option still serves as
> initial value for the predictions.
> Of course, by manually setting G1UseAdaptiveIHOP to false, original
> behavior is preserved.
> Previous dependent CRs adding adaptive IHOP functionality. Local build
> for this particular change.
More information about the hotspot-gc-dev