RFR: 8283994: Make Xerces DatatypeException stackless
Joe Wang
joehw at openjdk.java.net
Wed Mar 30 19:08:27 UTC 2022
On Wed, 30 Mar 2022 11:38:59 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> 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`
Marked as reviewed by joehw (Reviewer).
src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/dv/DatatypeException.java line 2:
> 1: /*
> 2: * Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
Update the LastModified tag below as well. Otherwise, looks good.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8036
More information about the core-libs-dev
mailing list