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

XAWT: Optimize getFieldsAsString() methods generated by WrapperGenerator

    Details

    • Subcomponent:
    • Resolved In Build:
      b14
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        The issue is related to 7104625.

        WrapperGenerator is used to generate XEvent and its descendant classes. All of the generated classes contain a getFieldsAsString() method used to get their string representation. These methods use string concatenation with the "+" operator which leads to huge overhead in terms of memory usage.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  anthony Anthony Petrov (Inactive)
                  Reporter:
                  anthony Anthony Petrov (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: