Uploaded image for project: 'Hibernate ORM'
  1. HHH-12427

Prevent classloader leak in ByteBuddy based BasicProxyFactoryImpl

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects versions: None
    • Fix versions: 5.3.0.CR2
    • Components: None
    • Labels:
      None
    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

    • Last commented by a user?:
      true
    • Sprint:

      Description

      There's a cache holding Class instances in a static field of org.hibernate.bytecode.internal.bytebuddy.BasicProxyFactoryImpl which is never cleaned up.

      It seems this cache is unlikely to have a significant performance impact so I think the simplest solution is to remove it.

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                sanne Sanne Grinovero
                Reporter:
                sanne Sanne Grinovero
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: