Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-3567

Too many class loaders created during jitting by the ClassGenerator

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 5.4.1.Final, 5.5.0.Beta1
    • None
    • None
    • None

    Description

      The current implementation of the ClassGenerator causes the following classloading leaks:

      • org.drools.rule.builder.dialect.asm.ClassGenerator.EMPTY_METHOD_BODY is a static instance which will hold to the last instance of InternalClassLoader created
      • org.drools.rule.constraint.MvelConstraint uses an ExecutorHolder that spawns daemon threads and keeps them in a pool. Problem is these threads create class loaders, and can only be garbage collected when the thread dies

      Attachments

        Activity

          People

            mfusco@redhat.com Mario Fusco
            mfusco@redhat.com Mario Fusco
            Archiver:
            rhn-support-ceverson Clark Everson

            Dates

              Created:
              Updated:
              Resolved:
              Archived:

              PagerDuty