This is the mail archive of the java-patches@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: [PATCH]: natThread.cc: Destroy join sync objects in finalizer


>>>>> "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


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