C2: Inlining checks for method handle intrinsics are too strict

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 26
    • Affects Version/s: 26
    • Component/s: hotspot
    • b22

      C2 performs access checks during inlining attempts through method handle intrinsic calls. But there are no access checks happening at runtime when performing such calls. (Access checks are performed when corresponding method handle is resolved.) So, inlining may fail due to access check failure while the call succeeds.

            Assignee:
            Vladimir Ivanov
            Reporter:
            Vladimir Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: