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

Performance work for hashCode/toString method for inline class

    XMLWordPrintable

Details

    Description

      Comment from John [1] on Object::toString support for inline class

      In order for this to perform well, the code for each generated toString method needs to be JIT-ted, and to be reached quickly (or even inlined) via ClassValue::get. Optimization work (to be done later) should probably consider JDK-8238260.

      Same for Object::hashCode support for inline class.

      [1] https://github.com/openjdk/valhalla/pull/155#issuecomment-676878558

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mchung Mandy Chung
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: