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

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 9
    • Component/s: core-libs
    • b80
    • generic
    • generic

        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)

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

                Created:
                Updated:
                Resolved: