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

Tom Tromey tromey@redhat.com
Tue Sep 14 11:37:00 GMT 2004


>>>>> "Mohan" == Mohan Embar <gnustuff@thisiscool.com> writes:

Mohan> If someone decides to resurrect a thread this way instead of
Mohan> creating a thread pool, they're going to run into problems if
Mohan> they hope that they can rely on finalize() being called again
Mohan> the next time they feel like resurrecting a thread this way....

You can't re-start() a thread.  My concern here is really about VM
security -- we don't want a way to, say, remote-crash a VM running in
a browser.

Tom



More information about the Java-patches mailing list