JDK-8292190 : [IR Framework] Remove redundant regex matching for failing counts constraints
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 20
  • Priority: P4
  • Status: In Progress
  • Resolution: Unresolved
  • Submitted: 2022-08-10
  • Updated: 2022-08-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Relates :  
Description
When checking a counts constraint, we are applying regex matching on the compilation output but only keep the count of all matches. If that does not match the expected count as stated in the IR rule (i.e. an IR matching failure), we reapply regex matching to get the matched output as well (used for the reporting). 

This is not efficient and could be merged into a single regex matching application which is especially beneficial when matching on large compilation output strings.
Comments
A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/9831 Date: 2022-08-11 06:46:05 +0000
11-08-2022