Bug in G1GC it performs Full GC when code cache is full resulting in overkill

Martin Makundi martin.makundi at koodaripalvelut.com
Mon Jun 3 04:23:41 PDT 2013


Hi!

> > We seem to be suffering from humongous and something else too... I
> > will attempt to investigate how the cause can be captured to see if
> > they can be made smaller.
> >
> > Why does it need to do a stop the world instead of just making space
> > for the items that need to be placed?
>
> There is no reason for the current behavior other than that trying to
> make space using a targeted mixed collection in this case is just not
> implemented in G1.

So could we improve it by adding that and also allowing varying-size
regions, to allow smaller and larger (even bigger than 32m) objects?

**
Martin

>
>
>


More information about the hotspot-gc-use mailing list