[jdk19] Integrated: 8289486: Improve XSLT XPath operators count efficiency

Joe Wang joehw at openjdk.org
Thu Jul 7 19:10:45 UTC 2022


On Fri, 1 Jul 2022 17:04:10 GMT, Joe Wang <joehw at openjdk.org> wrote:

> To improve efficiency, this patch moves the limit check to within the Lexer and reports any overlimit situation as soon as it happens.
> 
> Note the change in XPathParser: diff (and also webrevs) showed the whole error-report block was changed, the actual change was only placing the block to within the isOverLimit statement.
> 
> Test: java.xml tests passed.

This pull request has now been integrated.

Changeset: 3212dc9c
Author:    Joe Wang <joehw at openjdk.org>
URL:       https://git.openjdk.org/jdk19/commit/3212dc9c6f3538e1d0bd1809efd5f33ad8b47701
Stats:     59 lines in 2 files changed: 31 ins; 4 del; 24 mod

8289486: Improve XSLT XPath operators count efficiency

Reviewed-by: naoto, lancea

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

PR: https://git.openjdk.org/jdk19/pull/101


More information about the core-libs-dev mailing list