久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

如何調查 JVM 崩潰的原因?

How do I investigate the cause of a JVM crash?(如何調查 JVM 崩潰的原因?)
本文介紹了如何調查 JVM 崩潰的原因?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

限時送ChatGPT賬號..

一天前,經過幾個月的正常工作,我們的java應用程序開始偶爾崩潰并出現以下錯誤:

One day ago, after a few months of normal working, our java app starts to crash occasionally with the following error:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (safepoint.cpp:247), pid=2075, tid=140042095163136
#  guarantee(PageArmed == 0) failed: invariant
#
# JRE version: 6.0_23-b05
# Java VM: Java HotSpot(TM) 64-Bit Server VM (19.0-b09 mixed mode linux-amd64 compressed oops)
# An error report file with more information is saved as:
# /var/chat/jSocketer/build/hs_err_pid2075.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

我查看了 hs_err_pid2075.log 并看到有一個活動線程,它處理網絡通信.但是,在過去的幾個月里沒有進行任何應用程序或環境更改.也沒有任何負載增長.我該怎么做才能理解,崩潰的原因是什么?是否有任何常見的步驟來調查 jvm 崩潰?

I looked in hs_err_pid2075.log and saw that there was an active thread, that processed a network communication. However there wasn't any application or environment changes done in the last few months. Also there wasn't any load growth. What can I do to understand, what is the reason of crash? Are there any common steps to investigate a jvm crash?

UPDhttp://www.wuala.com/ubear/public

推薦答案

崩潰是在 JVM 中,而不是在外部原生代碼中.但是,它崩潰的操作是由外部 DLL 發起的.

The crash is in the JVM, not in external native code. However, the operation it crashed on has been initiated by and external DLL.

hs_err_pid 文件中的這一行解釋了崩潰的操作:

This line in the hs_err_pid file explains the operation that crashed:

VM_Operation (0x00007f5e16e35450): GetAllStackTraces, mode: safepoint, requested by thread 0x0000000040796000

現在,線程 0x0000000040796000 是

Now, thread 0x0000000040796000 is

0x0000000040796000 JavaThread "YJPAgent-Telemetry" daemon [_thread_blocked, id=2115, stack(0x00007f5e16d36000,0x00007f5e16e37000)]

這是 Yourkit 創建的一個線程.GetAllStackTraces"是分析器需要調用才能進行采樣的東西.如果您刪除分析器,則不會發生崩潰.

which is a thread created by Yourkit. "GetAllStackTraces" is something that a profiler needs to call in order to do sampling. If you remove the profiler, the crash will not happen.

有了這些信息,無法說出導致崩潰的原因,但您可以嘗試以下操作:刪除所有 -XX VM 參數、-verbose:gc 和調試 VM 參數.它們可能會干擾 JVM 的分析接口.

With this information It's not possible to say what causes the crash, but you can try the following: Remove all -XX VM parameters, -verbose:gc and the debugging VM parameters. They might interfere with the profiling interface of the JVM.

更新

調用 java.lang.Thread#getAllStackTraces()java.lang.Thread#getStackTrace() 的代碼可能會觸發相同的崩潰

Code that calls java.lang.Thread#getAllStackTraces() or java.lang.Thread#getStackTrace() may trigger the same crash

這篇關于如何調查 JVM 崩潰的原因?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

Parsing an ISO 8601 string local date-time as if in UTC(解析 ISO 8601 字符串本地日期時間,就像在 UTC 中一樣)
How to convert Gregorian string to Gregorian Calendar?(如何將公歷字符串轉換為公歷?)
Java: What/where are the maximum and minimum values of a GregorianCalendar?(Java:GregorianCalendar 的最大值和最小值是什么/在哪里?)
Calendar to Date conversion for dates before 15 Oct 1582. Gregorian to Julian calendar switch(1582 年 10 月 15 日之前日期的日歷到日期轉換.公歷到儒略歷切換)
java Calendar setFirstDayOfWeek not working(java日歷setFirstDayOfWeek不起作用)
Java: getting current Day of the Week value(Java:獲取當前星期幾的值)
主站蜘蛛池模板: 国产精品福利视频 | 亚洲天堂免费在线 | 精品免费国产视频 | 日韩国产中文字幕 | 欧美日韩精品中文字幕 | 国产精品无码永久免费888 | 九九免费视频 | 午夜免费观看网站 | 欧美二区三区 | 欧美日韩一区二区三区四区 | 国产色网 | 成人片在线看 | 久久久国产精品入口麻豆 | 国产亚洲精品久久yy50 | 亚洲色图在线观看 | 四虎成人精品永久免费av九九 | 国产在线观看一区二区三区 | 国产精品成人一区二区三区 | 免费一二区| 欧美精品导航 | 免费观看av | 免费在线观看一区二区 | 日韩欧美视频在线 | 国产农村妇女毛片精品久久麻豆 | 中文字幕在线欧美 | 成人国产一区二区三区精品麻豆 | 国产精品福利在线观看 | 久久久精 | 色女人天堂 | 中文字幕一区在线 | 成人精品一区二区三区 | 成人毛片网站 | 一区二区中文字幕 | 黄色一级视频 | 久久精品国产亚洲一区二区 | 欧美大片一区二区 | 2018国产大陆天天弄 | 日韩一区二区视频 | 四虎成人精品永久免费av九九 | 国产免费一区二区三区网站免费 | 青青草网站在线观看 |