Bug 779473 (SOA-1857)

Summary: xalan performance issue
Product: [JBoss] JBoss Enterprise SOA Platform 5 Reporter: Kevin Conner <kevin.conner>
Component: EAPAssignee: trev <tkirby>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 5.0.0 ER7   
Target Milestone: ---   
Target Release: 5.0.0 GA, 5.0.0 ER8   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-1857
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-02-11 14:24:35 UTC Type: Task
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Kevin Conner 2010-01-21 10:06:59 UTC
Date of First Response: 2010-01-21 12:09:16
project_key: SOA

There is a performance issue within xalan, related to expensive invocations to ClassLoader.getResourceAsStream().

The stack leads back to org.apache.xml.dtm.DTMManager.newInstance()

This hit can be reduced significantly by specifying the following System property on the command line of the server,
    -Dorg.apache.xml.dtm.DTMManager=org.apache.xml.dtm.ref.DTMManagerDefault,
which causes DTMManager.newInstance() to bypass the resource lookup.

Comment 1 trev 2010-01-21 17:09:16 UTC
added to all run.confs

Comment 2 Len DiMaggio 2010-02-11 14:24:35 UTC
Verified in run.conf in CR1:

JAVA_OPTS="-Xms256m -Xmx728m -XX:PermSize=256m -XX:MaxPermSize=512m -Djava.awt.headless=true -Dorg.apache.xml.dtm.DTMManager=org.apache.xml.dtm.ref.DTMManagerDefault  -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dsun.lang.ClassLoader.allowArraySyntax=true"