Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-5227

Investigate performance degradation of fact type API usage in drools 7

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • None
    • 2020 Week 13-15 (from Mar 23)
    • NEW
    • NEW

      In Drools 7 a big amount of time is spent to manage a NoSuchFieldExceptions in Class.getDeclaredField. This happens when client code tries to get/set a value of a non-existent field of a Fact Type: while in Drools 6 it immediately returns a null, in Drools 7 causes the execution of a recursive routine introspecting the class itself. Very likely this change behaviour has been introduced by this commit https://github.com/kiegroup/drools/commit/435f7ead86e20b361e25abd60f1b228b5816ede1

              mfusco@redhat.com Mario Fusco
              mfusco@redhat.com Mario Fusco
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: