On Mar 3, 2004, at 4:42 PM, Tomasz Pik wrote:
> Forrest Girouard wrote:
>
>> On Mar 3, 2004, at 4:05 PM, Noel J. Bergman wrote:
>>>> Is any one on this list aware that every call to File.deleteOnExit()
>>>> leaks memory in the native heap?
>>>
>>> I am. Code intended for server use should be audited to remove that
>>> call.
>> Ok. I wasn't aware that there were any expectations in this area.
>> Can you explain further? Is there other calls that need to be
>> "removed" for server use?
>
> If you're asking about Java libraries, not directly commons libraries
> I know two examples, that cause problems with webapp classloaders
> and reloading: adding SecurityProviders and loading native libraries.
Thanks for the input although I'm aware of the issues surrounding these
two examples. By the way, we completely avoid all the native code
issues of which there are many by simply having a local surrogate
process make those calls on our behalf.
Cheers,
Forrest
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org