[jboss-jira] [JBoss JIRA] Closed: (JBVFS-105) Performance enhancement: AbstractVirtualFileHandler refcounts

David Lloyd (JIRA) jira-events at lists.jboss.org
Wed Apr 15 18:19:22 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBVFS-105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Lloyd closed JBVFS-105.
-----------------------------

    Resolution: Done
      Assignee:     (was: David Lloyd)


> Performance enhancement: AbstractVirtualFileHandler refcounts
> -------------------------------------------------------------
>
>                 Key: JBVFS-105
>                 URL: https://jira.jboss.org/jira/browse/JBVFS-105
>             Project: JBoss VFS
>          Issue Type: Patch
>      Security Level: Public(Everyone can see) 
>            Reporter: David Lloyd
>            Priority: Trivial
>             Fix For: 2.2.0.GA
>
>
> A minute performance improvement can be had by switching from AtomicInteger to a volatile int field, with the help of a static AtomicIntegerFieldUpdater, since the refcount is read many orders of magnitude more often than it is written (roughly 2 million times on an average JBAS 5.1 startup).

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

        



More information about the jboss-jira mailing list