AOT fails to compile jdk.base

bobpengxie(颉鹏) bobpengxie at tencent.com
Wed May 27 02:41:49 UTC 2020


Hi Tobias,

Error: Failed compilation: jdk.internal.reflect.UnsafeQualifiedStaticObjectFieldAccessorImpl.get(Ljava/lang/Object;)Ljava/
lang/Object;: org.graalvm.compiler.debug.GraalError: should not reach here: Metaspace constant load should not be happenin
g directly
        at lir instruction: B3 at 46 org.graalvm.compiler.hotspot.amd64.AMD64HotSpotMove$HotSpotLoadMetaspaceConstantOp rsi|Q
WORD = HOTSPOTLOADMETASPACECONSTANT input: meta{HotSpotType<Ljava/lang/ref/Reference;, resolved>}
[B0, null, B14, B1, B3, B4, B6, null, null, B2, B8, B10, B12, null, B11]

Error: Failed compilation: java.lang.invoke.VarHandleReferences$FieldInstanceReadOnly.getAcquire(Ljava/lang/invoke/VarHand
leReferences$FieldInstanceReadOnly;Ljava/lang/Object;)Ljava/lang/Object;: org.graalvm.compiler.debug.GraalError: should not reach here: Metaspace constant load should not be happening directly
        at lir instruction: B112 at 914 org.graalvm.compiler.hotspot.amd64.AMD64HotSpotMove$HotSpotLoadMetaspaceConstantOp rax|QWORD = HOTSPOTLOADMETASPACECONSTANT input: meta{HotSpotType<Ljava/lang/ref/Reference;, resolved>}[B0, null, B3, B5, B7, B9, B18, B19, B21, null, B24, null, B27, B111, null, B122, B28, null, B31, B35, B36, null, B39, B40, null, B51, B53, B54, B55, B61, B63, B65, null, B72, B74, B75, null, B90, B110, B8, null, B52, B112, null, B10, B12, B14, B16, B13, null, B113, null, B11, B4, B17, B15, null, B56, B58, B60, null, B67, null, B115, B117, B119, B6, B45, B46, B48, B32, B34, B42, B43, B78, B79, B80, B57, B59, B69, B71, null, B118, B1, B25, B37, B29, null, B50, null, B76, B81, B83, B84
, null, B70, null, null, B89, null, null, null, B91, B93, B94, null, B109, null, B97, B98, B99, B95, B100, B102, B103, null, null, B108, null, null, null, B22, B33]


Error: Failed compilation: java.lang.invoke.VarHandleReferences$FieldStaticReadOnly.get(Ljava/lang/invoke/VarHandleReferen
ces$FieldStaticReadOnly;)Ljava/lang/Object;: org.graalvm.compiler.debug.GraalError: should not reach here: Metaspace constant load should not be happening directly
        at lir instruction: B8 at 60 org.graalvm.compiler.hotspot.amd64.AMD64HotSpotMove$HotSpotLoadMetaspaceConstantOp rsi|Q
WORD = HOTSPOTLOADMETASPACECONSTANT input: meta{HotSpotType<Ljava/lang/ref/Reference;, resolved>}[B0, null, B3, B5, B18, B6, B8, B9, B11, B12, B10, B7, B13, B15, B17, B14, B16, B1, B4]Error: Failed compilation: java.lang.invoke.VarHandleReferences$FieldStaticReadOnly.getOpaque(Ljava/lang/invoke/VarHandleR
eferences$FieldStaticReadOnly;)Ljava/lang/Object;: org.graalvm.compiler.debug.GraalError: should not reach here: Metaspace constant load should not be happening directly




Best regards,
Peng Xie




 

在 2020/5/26 下午10:01,“Tobias Hartmann”<tobias.hartmann at oracle.com> 写入:

    Hi Peng Xie,

    On 26.05.20 09:54, bobpengxie(颉鹏) wrote:
    > Errors:
    >     Please see the attachment.

    Attachments are stripped. Could you please upload the file somewhere and share the link?

    Best regards,
    Tobias




More information about the hotspot-compiler-dev mailing list