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

compiler/codecache/OverflowCodeCacheTest.java fails transiently on Graal

XMLWordPrintable

    • b18

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (workspace/open/src/hotspot/share/code/codeBlob.cpp:433), pid=52243, tid=23299
      # fatal error: Initial size of CodeCache is too small
      #

      Current CompileTask:
      JVMCI-native: 295 217 jdk.internal.org.objectweb.asm.ByteVector::putUTF8 (144 bytes)

      Stack: [0x0000000171714000,0x0000000171b17000], sp=0x0000000171b14870, free space=4098k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.dylib+0x13d8248] VMError::report_and_die(int, char const*, char const*, char*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x4bc (codeBlob.cpp:433)
      V [libjvm.dylib+0x6b80dc] report_fatal(VMErrorType, char const*, int, char const*, ...)+0x88
      V [libjvm.dylib+0x5dac74] RuntimeStub::new_runtime_stub(char const*, CodeBuffer*, int, int, OopMapSet*, bool)+0x28c
      V [libjvm.dylib+0xbd5940] CodeInstaller::install(JVMCICompiler*, long, bool, JVMCIObject, objArrayHandle, CodeBlob*&, JVMCIObject, FailedSpeculation**, char*, int, JVMCIEnv*)+0x6ac
      V [libjvm.dylib+0xbec818] c2v_installCode0(JNIEnv_*, _jobject*, long, long, bool, _jobject*, _jobjectArray*, _jobject*, long, _jbyteArray*)+0x518
      C [libjvmcicompiler.dylib+0xc8a974] CompilerToVM_installCode0_36cf2e44a5037247275fabde7da16edea7c6d3c1+0x124
      C [libjvmcicompiler.dylib+0xc8a760] CompilerToVM_installCode_4ca98a048c9a512335c23477fe6eb72524502da0+0x140
      C [libjvmcicompiler.dylib+0xc8f458] HotSpotCodeCacheProvider_installCode_3a03b5597e27316aa2c6fde9024f8af0e460e84c+0x158
      C [libjvmcicompiler.dylib+0x1066084] Stub_getCode_4f7b31b23f7daa92c3a66cd44e74e6b679198f17+0x434
      C [libjvmcicompiler.dylib+0x569a28] LibGraalEntryPoints$RuntimeStubInfo$Util_newRuntimeStubInfo_96890390129491ffe84e7e390fa21dfaf7c73687+0x28
      C [libjvmcicompiler.dylib+0xf63990] HotSpotForeignCallLinkageImpl_getCodeInfo_e9cd21d1f18bdff6b0774bac9a8c007c6b37664f+0x150
      C [libjvmcicompiler.dylib+0xf63440] HotSpotForeignCallLinkageImpl_finalizeAddress_99b902c132b6d99ed251a93a839698d284f42dd3+0x70
      C [libjvmcicompiler.dylib+0xfcb0cc] HotSpotForeignCallsProviderImpl_lookupForeignCall_c4f699aabf026008cf05177d8a8518b475967479+0x29c
      C [libjvmcicompiler.dylib+0xe5bea0] NodeLIRBuilder_emitForeignCall_089915f0fb306c1c74d47a5b67219087458226bb+0xa0
      C [libjvmcicompiler.dylib+0x139f9bc] ForeignCall_generate_d38ca4f7323aa7dedbf2c052bde4389d34d4985a+0x2c
      C [libjvmcicompiler.dylib+0xe5ca98] NodeLIRBuilder_emitNode_0d2278036fb95f8a2b10444322810a5e699599f1+0xd8
      C [libjvmcicompiler.dylib+0xe5aac8] NodeLIRBuilder_doRoot_38c13ad0bea81b951d9eb76fc8f317be131bfc6a+0x248
      C [libjvmcicompiler.dylib+0xe59480] NodeLIRBuilder_doBlock_6c8ea5bb3e8c6298088e5e86a0ad72c005ca0675+0x480
      C [libjvmcicompiler.dylib+0xdbc094] LIRGenerationPhase_emitBlock_c6c11ea922afacfe11a0785de63ba884e0d5dbeb+0x1e4

      Since Graal installs runtime stubs lazily, it's possible for the code cache to be full when trying to install the stub.

            dnsimon Douglas Simon
            dnsimon Douglas Simon
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: