ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 30162] - [PATCH] Avoid potential memory leaks from IntrospectionHelper.helpers
Date Tue, 29 Mar 2005 21:31:29 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30162>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30162


jglick@netbeans.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dev@ant.apache.org
         AssignedTo|dev@ant.apache.org          |jglick@netbeans.org
   Target Milestone|---                         |1.7




------- Additional Comments From jglick@netbeans.org  2005-03-29 23:31 -------
Revising strategy a bit. I am unfortunately not aware of any way to prevent some
IH objects from being collected on occasion while the Class still exists, since
the IH must retain a reference to the Class (e.g. it holds Method's defined by
it) - and Java provides no way to make two objects live or die as a pair. This
could be problematic for performance. However the rest of the patch should still
at least be an improvement - no one in main Ant code would be calling
IH.gH(Class) any more. IH.gH(Project,Class) will still use a cache, but this is
cleared when any build finishes (not necessarily the one that asked for the IH,
by the way). Interactive environments such as NetBeans do have to call
gh(Class), for purposes of code completion, as there is no associated project -
so these IH instances will not be cached.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are on the CC list for the bug, or are watching someone who is.

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


Mime
View raw message