Question regarding G1 option to run parallel Old generation garbage collection?
Kirk Pepperdine
kirk at kodewerk.com
Fri Oct 19 18:39:46 UTC 2012
On 2012-10-19, at 8:29 PM, Monica Beckwith <monica.beckwith at oracle.com> wrote:
> Hi Kirk -
>
> I see that Charlie has already answered that one. I'll just expand on that... Basically *any* value of InitiatingHeapOccupancyPercent is checked against the already allocated and current bytes. If the total bytes are greater than heap*IHOP/100 (since IHOP is expressed as a percent) and if young GC, then we start the concurrent cycle. If not then we are doing mixed GC.
RIght, missed that last sentence in Charlie's explanation. Sorry Charlie.. my bad for skimming... I was thinking that 0 would be a sentinel or guarded against as it seems using a setting of 0 would seem to make no sense or have no supporting use case.
-- Kirk
More information about the hotspot-gc-dev
mailing list