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

Inefficient printing of swing classes.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 1.2.1
    • Fix Version/s: 1.2.1_002
    • Component/s: client-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b02
    • CPU:
      generic
    • OS:
      solaris_2.6

      Backports

        Description

          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.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: