[Gc] GC Warning: Repeated allocation of very large block

Andrew Haley aph at redhat.com
Tue Oct 31 05:29:26 PST 2006


David Jones writes:
 > On October 31, 2006 05:31 am, Andrew Haley wrote:
 > 
 > > Well, look at this from a user's point of view.  All that the Java
 > > code does is allocate a very large array of ints.  That's a perfectly
 > > proper thing to do, if somewhat unusual.
 > 
 > This is GCJ?

Yes.

 > And the collector is issuing the message because it fears that it cannot avoid 
 > using addresses that it would rather blacklist?
 > 
 > Does GCJ use typed allocation?

Yes.

 > Is there any need for a conservative estimate?

We scan the stack conservatively.

Andrew.


More information about the Gc mailing list