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

Optimize frequently called methods to improve AS boot time.

    Details

    • Type: Task
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 2.0.0.Beta11
    • Fix Version/s: 2.0.0.Beta12
    • Component/s: None
    • Labels:
      None

      Description

      Profiler analysis of AS bootstrap in JBAS-5224 shows a lot of time is spent in VFS methods.

      Look in particular at: http://jira.jboss.com/jira/secure/attachment/12320206/as5_hotspots_20_may.html

      One direction is to try to reduce the number of calls to the VFS methods from the callers, so this needs to be handled elsewhere.

      But another goal is to improve the execution time of the hotspot methods in vfs, e.g.

      PathTokenizer.getTokens are called about +330k times in beta4 and ~600k times in trunk.
      AbstractVirtualFileHandler.structuredFindChild has the same increase in calls as PathTokenizer.getTokens.
      AbstractVirtualFileHandler.checkClosed have increased from ~1.4million calls to 3million calls
      MatcherStrategy.subtypeOf have increased from 500k to 680k calls.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  alesj Ales Justin
                  Reporter:
                  dimitris Dimitrios Andreadis
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: