replace IndexColorModel.finalize() with Disposer mechanism

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • tbd
    • Affects Version/s: 5.0
    • Component/s: client-libs
    • None
    • 2d
    • generic
    • solaris_9

      As mentioned in 6299405, we still have a non-empty finalize() method in
      IndexColorModel. It would be fairly trivial to remove this method and replace it
      with a more prompt mechanism, specifically the Java2D Disposer thread. This may
      help reduce overhead in creating and disposing small indexed images.

      Another minor point: ColorModel has an empty finalize() method. I'm not sure why
      we can't just remove that method altogether (it would not be considered an incompatible
      spec change since it's just overriding an existing method on Object).

            Assignee:
            Philip Race
            Reporter:
            Christopher Campbell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: