[kaffe] Thread handling in Kaffe

Timothy Stack stack at cs.utah.edu
Mon Feb 17 18:24:01 PST 2003


On Monday, February 17, 2003, at 06:37  PM, calvin kaiwen wrote:

> Hi :)
>
> Glad you reply, here is a fraction of those code :)
> It is possible to increase the file descriptor of linux machine (yet 
> to test
> out), but IF thread pool is reuse, 1024 file descriptors if more than 
> enough
> :)

Trying closing whatever files you're opening.

The problem is "known", in that Kaffe won't run the gc/finalizer if the
process runs out of file descriptors.  Therefore, any open
FileInputStreams/FileOutputStreams won't be finalized immediately so 
the descriptors stay open.

> Calvin

tim stack





More information about the kaffe mailing list