G1-GC - Full GC [humongous allocation request failed]

Thomas Schatzl thomas.schatzl at oracle.com
Mon Oct 10 11:07:27 UTC 2016


Hi,

On Mon, 2016-10-10 at 06:45 -0400, Vitaly Davidovich wrote:
> 
> 
> On Monday, October 10, 2016, Thomas Schatzl <thomas.schatzl at oracle.co
> m> wrote:
> > 
> > On Mon, 2016-10-10 at 10:12 +0200, Thomas Schatzl wrote:
> > > Hi all,
> > >
> > [...]
> > >
> > > (I am probably forgetting one or the other edge case here, but
> > that's
> > > the general idea; also please consider that for G1, except for
> > > humongous allocations, the heap does not need to )
> > 
> > ... the actually occupied heap area does not need to be contiguous.
> > It's just easier to draw as such :)
> Are the reserved regions contiguous or no?

  no. You can't guarantee that. Consider long-living allocations into
this area. At the moment G1 never moves humongous objects.

Thomas



More information about the hotspot-gc-use mailing list