[jdk19] RFR: 8289486: Improve XSLT XPath operators count efficiency [v2]

Joe Wang joehw at openjdk.org
Thu Jul 7 17:37:48 UTC 2022


> 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.

Joe Wang has updated the pull request incrementally with one additional commit since the last revision:

  add comments

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

Changes:
  - all: https://git.openjdk.org/jdk19/pull/101/files
  - new: https://git.openjdk.org/jdk19/pull/101/files/330f86ce..ef9cf7d7

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk19&pr=101&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk19&pr=101&range=00-01

  Stats: 10 lines in 2 files changed: 10 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk19/pull/101.diff
  Fetch: git fetch https://git.openjdk.org/jdk19 pull/101/head:pull/101

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


More information about the core-libs-dev mailing list