Uploaded image for project: 'Java Mission Control'
  1. Java Mission Control
  2. JMC-6767

Empty filter regex should not be compiled

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.0.0
    • Component/s: Mission Control Core
    • Labels:
      None

      Description

      Currently we're compiling filters with empty regular expressions as parameters. If we instead short-circuit these to a TruePredicate we can avoid a lot of unnecessary allocations.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hdafgard Henrik Dafgård
                Reporter:
                hdafgard Henrik Dafgård
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: