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)
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
- blocks
-
JDK-8253921 replay compilations of methods which use JSR292
- Open
-
JDK-8271911 improve support of replay compilations for methods which use JSR292
- Resolved
-
JDK-8254106 Improve compilation replay
- Resolved
- is blocked by
-
JDK-8012268 ciReplay: process_ciInstanceKlass: JVM_CONSTANT_MethodHandle not supported
- Resolved
- relates to
-
JDK-8012268 ciReplay: process_ciInstanceKlass: JVM_CONSTANT_MethodHandle not supported
- Resolved
(2 links to)