JDK 9 RFR: 8176168: Performance drop due to SAXParser SymbolTable reset

Aleks Efimov aleksej.efimov at oracle.com
Sun Apr 16 22:02:35 UTC 2017


Hi,

Please, help to review the fix [1] for a performance regression in 
SPECjvm2008-XML benchmark. The cause of this regression was the 
unconditional reset of SAX parsers symbol table during each reset() 
operation introduced by JDK-8173390.
Proposed fix introduces new system property (CCC request is still 
pending approval) that provides ability to control the symbol table 
reset functionality. By default the reset table functionality is 
disabled, similar to pre JDK-8173390 behavior. JAXWS parsers pool 
implementation was updated to utilize new property to reset symbol table 
only in JAXWS use-cases that helped to restore the performance levels to 
pre JDK-8173390 level.

Modified regression test and XML related JCK tests passes on build with 
proposed changes.

With Best Regards,
Aleksei

[1] http://cr.openjdk.java.net/~aefimov/8176168/00/


More information about the core-libs-dev mailing list