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

Consider increasing default inlining limits

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 25
    • hotspot

      In JDK-8234863 we increased the default MaxInlineLevel based on user feedback and benchmark numbers.

      The new level was relatively conservative based on observations that a higher inlining limit might have negative consequences, especially in C1. We've seen specific benchmarks benefit of a higher level though, and are aware that certain customers tune this more aggressively.

      Some flags were later split so that C1 has its own set (and the C1 inlining increase rolled back) by JDK-8235673. This removes a few stability concerns and might make more aggressive (C2) defaults somewhat more appealing.

      We are getting occasional requests to increase some limits, especially those which might make functional style programming (with large chains or trees of simple methods, e.g., stream pipelines) more performant.

      I'm opening this RFE mostly to give a heads up. We need to collect fresh data on this and try to look at the big picture changes in C2, including changes in overheads over time.

            Unassigned Unassigned
            redestad Claes Redestad
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: