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

Inefficient printing of swing classes.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.2.1_002
    • 1.2.1
    • client-libs
    • None
    • b02
    • generic
    • solaris_2.6

          The printing of swing classes is implemented in such a way that it is grossly inefficient, resulting in much larger than needed memory consumption/file sizes. The best way to see this is to take a large swing application and print it. Swing comes with the swingset applet, you can try that in the appletviewer. Print it. Try to print it to a file. The file grew to 411mb before I ran out of memory. I didn't try adding memory to the vm because of the size of the file.

              myangsunw Mingyao Yang (Inactive)
              duke J. Duke
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: