You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "John Casey (JIRA)" <ji...@codehaus.org> on 2007/02/20 19:17:27 UTC

[jira] Commented: (MNG-2837) Remove all caching from the ProjectBuilder

    [ http://jira.codehaus.org/browse/MNG-2837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_88070 ] 

John Casey commented on MNG-2837:
---------------------------------

I've removed caching from the project builder. However, project-instance caching is necessary for proper reactor functionality, so it's not possible to get a truly cache-less baseline like you're describing. What we have now is very close to a baseline for the project builder, I think.

BTW, the project cache is now tied to the current thread and its children via InheritableThreadLocal, so the cache should be garbage collected when the build completes.

> Remove all caching from the ProjectBuilder
> ------------------------------------------
>
>                 Key: MNG-2837
>                 URL: http://jira.codehaus.org/browse/MNG-2837
>             Project: Maven 2
>          Issue Type: Task
>    Affects Versions: 2.1-alpha-1
>            Reporter: Jason van Zyl
>             Fix For: 2.1-alpha-1
>
>
> All the caching should be removed so that we can accurate measure the performance prior to optimization and place the caching where it belongs. The ProjectBuilder should only build projects and that's it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira