Java Core Dump分析过程
发布时间:2020-12-15 08:23:41 所属栏目:Java 来源:网络整理
导读:原文链接:https://www.jianshu.com/p/0d41057ed973 今天,刚部署的应用上,随便点点,系统崩溃了,看日志 这个是jvm虚拟机崩溃日志 下载下来: 查 (Crash in [libzip.so+ 0x1218f ] ZIP_GetEntry2+ 0xff )[https: // bugs.openjdk.java.net/browse/JDK-8175
原文链接:https://www.jianshu.com/p/0d41057ed973 今天,刚部署的应用上,随便点点,系统崩溃了,看日志 这个是jvm虚拟机崩溃日志 下载下来: 查 (Crash in [libzip.so+0x1218f] ZIP_GetEntry2+0xff)[https://bugs.openjdk.java.net/browse/JDK-8175970] 可以知道在JDK 9中修正了这个Bug。 This is fixed in JDK 9 with JDK-8145260. Most of the times,the crashes in ZIP_GetEntry occur when the jar file being accessed has been modified/overwritten while the JVM instance was running. The following property can be used to disable the memory mapping of the central directory structure of the Jar files: -Dsun.zip.disableMemoryMapping=true Please note that enabling this property would have some performance impact on the application as the JVM needs to read the central directory structure from the Jar files on the disk again and again whenever it reads a Jar file entry. So,it is best to ensure that the jar files are not modified or overwritten while the JVM has an image of them loaded. For details refer the following : (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- 如何使用JavaFX从条形码扫描仪读取输入
- Java:BufferedReader的readLine()中的IOEXceptions是什么?
- SpringBoot升级报错:Failed to bind properties under '
- java – 自动将私有限定符添加到eclipse中的字段
- java – 将点击处理程序添加到GWT中的Horizo??ntalPanel
- 20个非常有用的Java程序片段
- java – @Entity实体无法解析为某个类型
- Java泛型和返回类型
- java – 使用普通的类方法调用actionPerformed方法
- Hibernate Query接口 setFloat方法:绑定映射类型为float的