XStream
  1. XStream
  2. XSTR-646

PermGen is consumed by Sun14ReflectionProvider more than necessary

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.1
    • Fix Version/s: 1.4
    • Component/s: Converters
    • Labels:
      None
    • JDK version and platform:
      Sun 1.6.0_17

      Description

      Sun14ReflectionProvider has a constructor cache.
      However, these caches are gone for every minor GC, because WeakReference of constructor hasn't been referred by anyone when the constructor finish instantiating the object. So, whenever getMungedConstructor is called, constructor is newly created.

      The objects in PermGen space isn't collected when minor GC, so it causes frequent full GC.

        People

        • Assignee:
          Jörg Schaible
          Reporter:
          Yoshitaka Kawashima
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: