Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8144538

Need a public interface to permit us to flush caches

    XMLWordPrintable

Details

    Description


      Need a public interface somewhere to permit us to flush these caches.

      digraph "rxlauncher.jar" {
          // Path: rxlauncher.jar
         "com.attachmate.rx.launcher.ClassLoaderCleanup" ->
      "sun.awt.image.BufferedImageGraphicsConfig (JDK internal API (rt.jar))";
         "com.attachmate.rx.launcher.ClassLoaderCleanup" ->
      "sun.swing.CachedPainter (JDK internal API (rt.jar))";
         "com.attachmate.rx.launcher.ClassLoaderCleanup" ->
      "sun.swing.ImageCache (JDK internal API (rt.jar))";
      }

      These accesses are used to clear cached object references so that a custom
      Classloader can be garbage collected. BufferedImageGraphicsConfig caches
      color models. CachedPainter contains ImageCache objects which use
      SoftReferences, where these soft references may refer to classes loaded by
      our class loader.


      Attachments

        Activity

          People

            serb Sergey Bylokhov
            shadowbug Shadow Bug
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: