Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-16245

Use a delegating classloader as the user code classloader to prevent class leaks.

    XMLWordPrintableJSON

Details

    Description

      As reported in FLINK-11205, a reference to the user-code ClassLoader can be held by some libraries, causing class leaks.

      One way to circumvent this class leak is if the ClassLoader that we set as the user-code ClassLoader is a delegating ClassLoader to the real class loader, and when closing the user code ClassLoader we null out the reference.

      Attachments

        Issue Links

          Activity

            People

              arvid Arvid Heise
              sewen Stephan Ewen
              Votes:
              0 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m