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

C2: Inlining checks for method handle intrinsics are too strict

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • 26
    • 26
    • hotspot

      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.

            vlivanov Vladimir Ivanov
            vlivanov Vladimir Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: