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

Suboptimal java.lang.record's methods generation

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 17
    • Component/s: core-libs
    • Labels:
      None

      Description

      It has been reported at [1] that the bytecode generated by java.lang.runtime.ObjectMethods is sub-optimal in particular the code 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

          Activity

            People

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

              Dates

              Created:
              Updated: