You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2012/06/08 09:45:25 UTC
[jira] [Created] (SLING-2506) Destroy wrapper as soon as java file
changes
Carsten Ziegeler created SLING-2506:
---------------------------------------
Summary: Destroy wrapper as soon as java file changes
Key: SLING-2506
URL: https://issues.apache.org/jira/browse/SLING-2506
Project: Sling
Issue Type: Bug
Components: Scripting
Affects Versions: Scripting Java 2.0.4
Reporter: Carsten Ziegeler
Assignee: Carsten Ziegeler
Fix For: Scripting Java 2.0.6
If a java file changes, the wrapper is kept until the script is accessed the next time. Worst case, it is never accessed but the wrapper still keeps a reference to an obsolete object and class loader.
This can be optimized by directly discarding the wrapper once an event is received for a script
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (SLING-2506) Destroy wrapper as soon as java file
changes
Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-2506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler closed SLING-2506.
-----------------------------------
> Destroy wrapper as soon as java file changes
> --------------------------------------------
>
> Key: SLING-2506
> URL: https://issues.apache.org/jira/browse/SLING-2506
> Project: Sling
> Issue Type: Bug
> Components: Scripting
> Affects Versions: Scripting Java 2.0.4
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Fix For: Scripting Java 2.0.6
>
>
> If a java file changes, the wrapper is kept until the script is accessed the next time. Worst case, it is never accessed but the wrapper still keeps a reference to an obsolete object and class loader.
> This can be optimized by directly discarding the wrapper once an event is received for a script
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (SLING-2506) Destroy wrapper as soon as java file
changes
Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-2506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler resolved SLING-2506.
-------------------------------------
Resolution: Fixed
> Destroy wrapper as soon as java file changes
> --------------------------------------------
>
> Key: SLING-2506
> URL: https://issues.apache.org/jira/browse/SLING-2506
> Project: Sling
> Issue Type: Bug
> Components: Scripting
> Affects Versions: Scripting Java 2.0.4
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Fix For: Scripting Java 2.0.6
>
>
> If a java file changes, the wrapper is kept until the script is accessed the next time. Worst case, it is never accessed but the wrapper still keeps a reference to an obsolete object and class loader.
> This can be optimized by directly discarding the wrapper once an event is received for a script
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira