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

ciReplay: fails to resolve @SignaturePolymorphic methods in replay data

    XMLWordPrintable

    Details

      Description

      During compilation replay data parsing, VM fails to resolve signature-polymorphic method entries.

      For example:
      ciMethod java/lang/invoke/MethodHandle invokeBasic (Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; 1 1 1 0 -1
      ciMethod java/lang/invoke/MethodHandle invokeBasic (Ljava/lang/Object;)Ljava/lang/Object; 1 1 1 0 -1
      ciMethod java/lang/invoke/MethodHandle invokeBasic (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; 1 1 1 0 -1
      ciMethod java/lang/invoke/MethodHandle invokeBasic (Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V 1 1 1 0 -1
      ciMethod

      It's one of the blockers to successfully replay compilations of methods which use JSR292.

      I see 2 possible solutions:
          1) don't dump signature-polymorphic methods into replay file (it seems there's no useful info there anyway)
          2) try to resolve, but as a special-case (ignore method signature)
       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              xliu Xin Liu
              Reporter:
              vlivanov Vladimir Ivanov
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated: