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

SharedScopeCall should be enabled for non-optimistic call sites even with optimistic compilation

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b80
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        Currently, SharedScopeCall is disabled when doing optimistic compilation. We plan to rectify this (see JDK-8069338), but it is non-trivial. In the meantime, we can partially implement it and go long ways towards reclaiming its performance benefits: enable it during optimistic compilation for those call sites that end up being non-optimistic (that is, their statically proven return type is Object)

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                attila Attila Szegedi
                Reporter:
                attila Attila Szegedi
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: