This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: libgcj and incremental gc
>>>>> "Andrew" == Andrew Haley <aph@redhat.com> writes:
>> I think the hard part in making this work is that we would have to
>> ensure that system calls only write to pointer-free objects. I
>> think that's hard only because I'm not sure there's an easy way to
>> find and check all of them.
Andrew> I can't think of any case in Java where a system call writing to a
Andrew> Java object that contains pointers would not be a bug.
The only case I can think of would be when we don't have hash
synchronization enabled. In this case, primitive array objects have a
GC-managed pointer to the _Jv_SyncInfo structure.
Tom