[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cp-patches] handle case with lots of unreferenced objects that has
From: |
Archie Cobbs |
Subject: |
Re: [cp-patches] handle case with lots of unreferenced objects that has fd's open |
Date: |
Fri, 5 Nov 2004 10:46:53 -0600 (CST) |
Noa Resare wrote:
> I will investigate this further, but I think that there might be a good
> idea to add a way to "force full gc/finalization" to the classpath jvm
> interface for use cases when performance is not important compared to
> getting a full finalization executed.
I agree.. Classpath needs a way to force (not just suggest) finalization,
otherwise we are buggy.
Eg. see this bug and others like it:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4797189
especially my comment (alc) at the bottom.
In our case, if we only close fd's during finalize(), then we must
ensure finalization is run before giving up after EMFILE, otherwise
our implementation is incorrect.
-Archie
__________________________________________________________________________
Archie Cobbs * CTO, Awarix * http://www.awarix.com
*
Confidentiality Notice: This e-mail message, including any attachments, is for
the sole use of the intended recipient(s) and may contain confidential and
privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply e-mail and destroy all copies of
the original message.
*