This is the mail archive of the java-patches@sources.redhat.com 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]

Re: Multiple threads fixes, nogc fix


>>>>> "Bryce" == Bryce McKinlay <bryce@albatross.co.nz> writes:

Bryce> These patches fix several long-standing and nasty threads problems:

Thanks Bryce.

Bryce> 1. We never detached dead threads. This meant that native
Bryce> thread resources were leaked, which under linux meant that only
Bryce> ~1020 threads could ever be created during the lifetime of a
Bryce> java process. Oops ;-)

I think the original plan was to use pthread_join to implement
Thread.join, but when it turned out not to be possible I never went
back and fixed things up.

Tom

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