Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-12141

standalone.xml - 15% of loaded classes is clustering related

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 7.1.0.ER3
    • 7.1.0.ER2
    • Clustering
    • None

      When starting EAP 7.1.0 ER2 and using standalone.xml there are 15% of loaded classes clustering related. To be precise 1091 classes out of 7285 classes in my check.

      Goal:
      Reduce number of loaded clustering related classes in standalone.xml
      Price of 15% of loaded classes for 2nd level cache stuff is too high.

      Logs:
      full log: https://drive.google.com/a/redhat.com/file/d/0BzqZahAZj1YNMDhKb1FDZnF4dlE/view?usp=sharing .. 20 MB

      classes loaded during boot (jboss module logging on trace) aggregated by package name: https://drive.google.com/a/redhat.com/file/d/0BzqZahAZj1YNSFdRWGRFVFdaRXM/view?usp=sharing

      • 445 org.infinispan
      • 310 org.wildfly.clustering
      • 336 org.jboss.as.clustering

      Details:

      <logger category="org.jboss.modules">
         <level name="TRACE"/>
      </logger>
      
      cat server.log | grep "Defined class" | wc -l
      7285
      
      for i in {2..6}; do echo "Level $i"; cat server.log | grep "Defined class" | sed "s/.*Defined class \(.*\)/\1/g" \
        | cut -d" " -f 1 | sort | cut -d'.' -f1-$i | uniq -c | sort -n -r | head -n 40; echo ""; done \
        | tee startup-loaded-classes.txt
      

              pferraro@redhat.com Paul Ferraro
              rsvoboda@redhat.com Rostislav Svoboda
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: