libgcj and incremental gc
Tom Tromey
tromey@redhat.com
Wed Mar 23 19:34:00 GMT 2005
>>>>> "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
More information about the Java
mailing list