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

performance of java.lang.Record::toString should be improved

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 18
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b26

      Description

      It has been reported at [1] that the method handle generated by java.lang.runtime.ObjectMethods is sub-optimal in particular the one generated for the toString method. The generated code should be updated to improve performance.

      [1] http://mail.openjdk.java.net/pipermail/amber-dev/2021-February/006952.html

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              vromero Vicente Arturo Romero Zaldivar
              Reporter:
              vromero Vicente Arturo Romero Zaldivar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: