synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiranya Jayathilaka (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SYNAPSE-701) Remove the finalize method of the TemporaryData.java in commons module of synapse
Date Mon, 18 Oct 2010 01:07:22 GMT

    [ https://issues.apache.org/jira/browse/SYNAPSE-701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921935#action_12921935
] 

Hiranya Jayathilaka commented on SYNAPSE-701:
---------------------------------------------

Andreas,

Under what circumstances these files may not get cleaned up? Can we fix those instances to
properly remove the temp files by calling the release method?



> Remove the finalize method of the TemporaryData.java in commons module of synapse
> ---------------------------------------------------------------------------------
>
>                 Key: SYNAPSE-701
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-701
>             Project: Synapse
>          Issue Type: Bug
>            Reporter: Supun Kamburugamuva
>            Assignee: Supun Kamburugamuva
>
> A finalize method can cause delayed garbage collection as well as it doesn't guarantee
a clean. This can lead to potential Out of Memory errors if these classes are used very frequently.
Also this method is redundant because this object has a explicit release method. So I suggest
we remove this redundant method.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


Mime
View raw message