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