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

Re-examine methodHandle methods uninlined by 8144256

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b21

      Description

      JDK-8144256 solved what appears to be a solaris x86-only compiler issue by un-inlining various methods in methodHandle. Reverting that part of the JDK-8144256 reduces the number of cycles/instructions it takes to run a minimal Hello World by ~1.5M, or 1.5% on a minimal test (although static footprint does grow slightly).

      Thus additionally, while JDK-8144256 moved to use pass by const reference to avoid use of the copy constructor, startup profiles indicate there are still a number of places where the copy constructor gets exercised, which can likely profitably be converted to use const references instead.

        Attachments

          Activity

            People

            • Assignee:
              coleenp Coleen Phillimore
              Reporter:
              redestad Claes Redestad
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: