蔭面向JVM崩潰cosistently同時使hotdeploy(上啓動JAVA_OPTS -Xmx4096m -XX使用以下Java選項:MetaspaceSize =512米-XX:+ HeapDumpOnOutOfMemoryError -XX:HeapDumpPath =崩潰 - XX:ThreadStackSize = 512 -XX:+ UseConcMarkSweepGC -XX:ParallelGCThreads = 5 -XX:NewRatio = 2 -XX:+ UnlockDiagnosticVMOptions -XX:-UseLoopPredicate -Xdebug -Xrunjdwp:transport = dt_socket,address = $ DEBUG_PORT,server = y,暫停= N -XX:NewRatio = 2 -Dspringloaded.synchronize =真JAVA_OPTS =`回聲$ JAVA_OPTS -Dspringloaded.synchronize =真-javaagent:彈簧式-1.2.1.jar -noverify )JVM崩潰有問題的框架:Canonicalizer :: do_If
環境:JDK 1.8 U 66,RHEL 6.7
# # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007faee9a1e27c, pid=27208, tid=140379827795712 # # JRE version: Java(TM) SE Runtime Environment (8.0_66-b17) (build 1.8.0_66-b17) # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.66-b17 mixed mode linux-amd64) # Problematic frame: # V [libjvm.so+0x35027c] Canonicalizer::do_If(If*)+0x1c # # Core dump written. Default location: core.27208 # # An error report file with more information is saved as: # hs_err_pid27208.log # [ timer expired, abort... ]
感謝您的快速回復,如果我啓用字節碼校驗器有幾個問題,現在是否有任何其他解決方法。 – sailukar
如果您的代碼在字節碼驗證程序下失敗,那麼您已經有問題。你只是通過禁用它來延遲發生的錯誤。 – the8472
@ user3895269嘗試'-XX:-TieredCompilation'。它可能會解決此問題,但如果字節碼未能通過驗證,則不要期望應用程序正常工作。最好遠離錯誤代理庫。 – apangin