• Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Cannot Reproduce
    • Affects Version/s: hs25
    • Fix Version/s: None
    • Component/s: hotspot
    • Environment:


      during promotion testing for JDK8 b92 vm/mlvm/meth/stress/jdi/breakpointInCompiledCode has crashed due to OOME in compiler thread

      ;; Using jvm: "/bpool/local/aurora/sandbox/java/re/jdk/8/promoted/all/b92/binaries/solaris-amd64/jre/lib/amd64/server/"
      # There is insufficient memory for the Java Runtime Environment to continue.
      # Native memory allocation (malloc) failed to allocate 2097168 bytes for Chunk::new
      # Possible reasons:
      # The system is out of physical RAM or swap space
      # In 32 bit mode, the process size limit was hit
      # Possible solutions:
      # Reduce memory load on the system
      # Increase physical memory or swap space
      # Check if swap backing store is full
      # Use 64 bit Java on a 64 bit OS
      # Decrease Java heap size (-Xmx/-Xms)
      # Decrease number of Java threads
      # Decrease Java thread stack sizes (-Xss)
      # Set larger code cache with -XX:ReservedCodeCacheSize=
      # This output file may be truncated or incomplete.
      # Out of Memory Error (allocation.cpp:388), pid=15723, tid=33
      # JRE version: Java(TM) SE Runtime Environment (8.0-b92) (build 1.8.0-ea-b92)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.0-b34 mixed mode solaris-amd64 compressed oops)
      # Core dump written. Default location: /bpool/local/aurora/sandbox/results/ResultDir/breakpointInCompiledCode_copy_1/core or core.15723

      --------------- T H R E A D ---------------

      Current thread (0x0000000000658800): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=33, stack(0xfffffd7fed8d9000,0xfffffd7fed9d9000)]

      Stack: [0xfffffd7fed8d9000,0xfffffd7fed9d9000], sp=0xfffffd7fed9ce7b0, free space=981k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [] void VMError::report(outputStream*)+0x91e;; __1cHVMErrorGreport6MpnMoutputStream__v_+0x91e
      V [] void VMError::report_and_die()+0x636;; __1cHVMErrorOreport_and_die6M_v_+0x636
      V [] void report_vm_out_of_memory(const char*,int,unsigned long,VMErrorType,const char*)+0x89;; __1cXreport_vm_out_of_memory6FpkciLnLVMErrorType_1_v_+0x89
      V [] void*Arena::grow(unsigned long,AllocFailStrategy::AllocFailEnum)+0x2f2;; __1cFArenaEgrow6MLnRAllocFailStrategyNAllocFailEnum__pv_+0x2f2
      V [] void*Arena::Arealloc(void*,unsigned long,unsigned long,AllocFailStrategy::AllocFailEnum)+0x112;; __1cFArenaIArealloc6MpvLLnRAllocFailStrategyNAllocFailEnum__1_+0x112
      V [] void Node_Array::grow(unsigned)+0x9a;; __1cKNode_ArrayEgrow6MI_v_+0x9a
      V [] void Compile::identify_useful_nodes(Unique_Node_List&)+0x2f;; __1cHCompileVidentify_useful_nodes6MrnQUnique_Node_List__v_+0x2f
      V [] PhaseRemoveUseless::PhaseRemoveUseless #Nvariant 1(PhaseGVN*,Unique_Node_List*)+0x108;; __1cSPhaseRemoveUseless2t6MpnIPhaseGVN_pnQUnique_Node_List__v_+0x108
      V [] void Compile::inline_incrementally(PhaseIterGVN&)+0x48b;; __1cHCompileUinline_incrementally6MrnMPhaseIterGVN__v_+0x48b
      V [] void Compile::Optimize()+0x1e6;; __1cHCompileIOptimize6M_v_+0x1e6
      V [] Compile::Compile(ciEnv*,C2Compiler*,ciMethod*,int,bool,bool,bool)+0xfdf;; __1cHCompile2t6MpnFciEnv_pnKC2Compiler_pnIciMethod_ibbb_v_+0xfdf
      V [] void C2Compiler::compile_method(ciEnv*,ciMethod*,int)+0xb3;; __1cKC2CompilerOcompile_method6MpnFciEnv_pnIciMethod_i_v_+0xb3
      V [] void CompileBroker::invoke_compiler_on_method(CompileTask*)+0xa82;; __1cNCompileBrokerZinvoke_compiler_on_method6FpnLCompileTask__v_+0xa82
      V [] void CompileBroker::compiler_thread_loop()+0xa47;; __1cNCompileBrokerUcompiler_thread_loop6F_v_+0xa47
      V [] void JavaThread::run()+0x4f3;; __1cKJavaThreadDrun6M_v_+0x4f3
      V [] java_start+0x9d2;; java_start+0x9d2
      C [] _thrp_setup+0xa5;; _thrp_setup+0xa5
      C [] _lwp_start+0x0;; _lwp_start+0x0

      Current CompileTask:
      C2: 5840 749 java.lang.invoke.LambdaForm$MH/1825027294::collect (101 bytes)

      A new failure, same thing, OOME:


          Issue Links



              • Assignee:
                adlertz Niclas Adlertz (Inactive)
                iignatyev Igor Ignatyev
              • Votes:
                0 Vote for this issue
                9 Start watching this issue


                • Created: