Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8292190

[IR Framework] Remove redundant regex matching for failing counts constraints

XMLWordPrintable

    • b11

      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.

            chagedorn Christian Hagedorn
            chagedorn Christian Hagedorn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: