RFR: 8283994: Make Xerces DatatypeException stackless

Aleksey Shipilev shade at openjdk.java.net
Wed Mar 30 11:47:10 UTC 2022


See bug report for more details. This change improves SPECjvm2008:xml.validation for about +3%:


 baseline: 298.353 ± 1.008  ops/min
 patched:  309.912 ± 1.347  ops/min

Of course, the real improvements might be even higher, as exception might be thrown from much deeper call hierarchy.

Additional testing:
 - [x] Linux x86_64 fastdebug, `jaxp_all`
 - [x] Linux x86_64 fastdebug, `javax/xml`

-------------

Commit messages:
 - Fix

Changes: https://git.openjdk.java.net/jdk/pull/8036/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=8036&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8283994
  Stats: 7 lines in 1 file changed: 6 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/8036.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/8036/head:pull/8036

PR: https://git.openjdk.java.net/jdk/pull/8036


More information about the core-libs-dev mailing list