Uploaded image for project: 'JBoss VFS'
  1. JBoss VFS
  2. JBVFS-105

Performance enhancement: AbstractVirtualFileHandler refcounts

XMLWordPrintable

    • Icon: Patch Patch
    • Resolution: Done
    • Icon: Trivial Trivial
    • 2.1.2.GA
    • None
    • None
    • None
    • Low

      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).

            dlloyd@redhat.com David Lloyd
            dlloyd@redhat.com David Lloyd
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: