[PATCH]: natThread.cc: Destroy join sync objects in finalizer

Tom Tromey tromey@redhat.com
Tue Sep 14 18:12:00 GMT 2004


Hans> It's probably better if we don't leak resources in that case,
Hans> but I'm not sure it qualifies as a libgcj bug if we do.

Good point -- I had conflated all the failure modes in my mind, but in
fact as long as we avoid potentially VM-crashing bugs, we're ok.
Resource leaks due to bad user code are unavoidable; after all a
malicious applet could just new Object() in a loop.

Tom



More information about the Java-patches mailing list