This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Fwd: Uninitialized stack gaps and conservative garbage collection]


>>>>> "Bryce" == Bryce McKinlay <mckinlay@redhat.com> writes:

Bryce> Hopefully this is rare in GCJ, however, as the GC only
Bryce> considers pointers to the start of an object to be valid -
Bryce> interior pointers are disregarded, significantly reducing the
Bryce> chance of a mis-identification.

My understanding is that this is only true for pointers on the heap.
Interior pointers found while scanning the stack will still cause
retention.  The rationale is that the optimizer might result in code
where no non-interior pointer is kept.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]