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

RFE: Need reset() to ObjectInputStream to clear old data references

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 1.3.1
    • core-libs



      Name: bsC130419 Date: 06/29/2001


      java version "1.3.1"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-b24)
      Java HotSpot(TM) Client VM (build 1.3.1-b24, mixed mode)

      There is a method reset() in ObjectOutputStream.

      A similar method, reset(), which simply calls the private resetStream(),
      is needed in ObjectInputStream.

      Profiling GUIs with JProbe reveals that the ArrayList wireHandle2Object holds
      references to many objects which need to be cleared from time to time at the
      discretion of the developer. If not done, leaks can result.
      (Review ID: 125029)
      ======================================================================

            mwarressunw Michael Warres (Inactive)
            bstrathesunw Bill Strathearn (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: