- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我有一个在 Tomcat 8 上运行的 Java 服务器,Java 8 次要版本为 192,我试图生成 300 个大型报告(最多并行 5 个) - 在某些时候,Java 虚拟机崩溃并显示 EXCEPTION_ACCESS_VIOLATION
。我认为这是一个内存问题,但是当我查看 GC 事件期间的堆和操作系统的可用内存时,看来这可能不是问题所在。
有人在 HotSpot Java 8 版本 192 中遇到过类似的问题吗?
# A fatal error has been detected by the Java Runtime Environment:
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000063f80ad0, pid=10364, tid=0x0000000000001dc4
#
# JRE version: Java(TM) SE Runtime Environment (8.0_192-b12) (build 1.8.0_192-b12)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.192-b12 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# V [jvm.dll+0xb0ad0]
#
--------------- T H R E A D ---------------
Current thread (0x000000001bac0800): ConcurrentGCThread [stack: 0x000000001bd00000,0x000000001be00000] [id=7620]
siginfo: ExceptionCode=0xc0000005, reading address 0x0000000000000008
Stack: [0x000000001bd00000,0x000000001be00000], sp=0x000000001bdff778, free space=1021k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0xb0ad0]
=>0x000000001bac0800 (exited) ConcurrentGCThread [stack: 0x000000001bd00000,0x000000001be00000] [id=7620]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
heap address: 0x0000000700000000, size: 3072 MB, Compressed Oops mode: Zero based, Oop shift amount: 3
Narrow klass base: 0x0000000000000000, Narrow klass shift: 3
Compressed class space size: 1073741824 Address: 0x00000007c0000000
Heap:
garbage-first heap total 3145728K, used 2685424K [0x0000000700000000, 0x0000000700106000, 0x00000007c0000000)
region size 1024K, 1255 young (1285120K), 86 survivors (88064K)
Metaspace used 197130K, capacity 202198K, committed 206244K, reserved 1232896K
class space used 22121K, capacity 23031K, committed 23756K, reserved 1048576K
Card table byte_map: [0x0000000014e00000,0x0000000015400000] byte_map_base: 0x0000000011600000
Marking Bits (Prev, Next): (CMBitMap*) 0x000000000252c018, (CMBitMap*) 0x000000000252c070
Prev Bits: [0x0000000015a00000, 0x0000000018a00000)
Next Bits: [0x0000000018a00000, 0x000000001ba00000)
Polling page: 0x0000000000e90000
CodeCache: size=245760Kb used=156616Kb max_used=156635Kb free=89143Kb
bounds [0x00000000034c0000, 0x000000000cf20000, 0x00000000124c0000]
total_blobs=38569 nmethods=37706 adapters=772
compilation: enabled
Compilation events (10 events):
Event: 111205.798 Thread 0x000000001f9f7800 nmethod 56988 0x000000000ad0f5d0 code [0x000000000ad0f720, 0x000000000ad0f850]
Event: 111205.804 Thread 0x000000001f9f5000 nmethod 56989 0x0000000008e6b410 code [0x0000000008e6b580, 0x0000000008e6b9a8]
Event: 111205.804 Thread 0x000000001f9f7800 56987 3 java.util.Random::nextBytes (56 bytes)
Event: 111205.805 Thread 0x000000001f9f7800 nmethod 56987 0x0000000008bb5b90 code [0x0000000008bb5d20, 0x0000000008bb6188]
Event: 111240.018 Thread 0x000000001f9f4000 56990 4 com.compuware.apm.agent.introspection.servlet.impl.JavaxHttpServletRequestWrapper::<init> (22 bytes)
Event: 111240.022 Thread 0x000000001f9f4000 nmethod 56990 0x000000000399d290 code [0x000000000399d3c0, 0x000000000399d518]
Event: 111269.830 Thread 0x000000001f9f6800 56991 4 java.util.concurrent.ConcurrentHashMap::sumCount (48 bytes)
Event: 111269.837 Thread 0x000000001f9f6800 nmethod 56991 0x000000000ac8a390 code [0x000000000ac8a4c0, 0x000000000ac8a618]
Event: 111336.508 Thread 0x000000001f9f7800 56992 ! 3 sun.reflect.GeneratedSerializationConstructorAccessor353::newInstance (49 bytes)
Event: 111336.510 Thread 0x000000001f9f7800 nmethod 56992 0x000000000b78ea90 code [0x000000000b78ec60, 0x000000000b78f238]
GC Heap History (10 events):
Event: 111341.340 GC heap before
{Heap before GC invocations=50780 (full 0):
garbage-first heap total 3145728K, used 2719920K [0x0000000700000000, 0x0000000700106000, 0x00000007c0000000)
region size 1024K, 1352 young (1384448K), 74 survivors (75776K)
Metaspace used 197130K, capacity 202198K, committed 206244K, reserved 1232896K
class space used 22121K, capacity 23031K, committed 23756K, reserved 1048576K
Event: 111341.482 GC heap after
Heap after GC invocations=50781 (full 0):
garbage-first heap total 3145728K, used 1417712K [0x0000000700000000, 0x0000000700106000, 0x00000007c0000000)
region size 1024K, 81 young (82944K), 81 survivors (82944K)
Metaspace used 197130K, capacity 202198K, committed 206244K, reserved 1232896K
class space used 22121K, capacity 23031K, committed 23756K, reserved 1048576K
}
Event: 111343.633 GC heap before
{Heap before GC invocations=50781 (full 0):
garbage-first heap total 3145728K, used 2711920K [0x0000000700000000, 0x0000000700106000, 0x00000007c0000000)
region size 1024K, 1342 young (1374208K), 81 survivors (82944K)
Metaspace used 197130K, capacity 202198K, committed 206244K, reserved 1232896K
class space used 22121K, capacity 23031K, committed 23756K, reserved 1048576K
Event: 111343.803 GC heap after
Heap after GC invocations=50782 (full 0):
garbage-first heap total 3145728K, used 1437872K [0x0000000700000000, 0x0000000700106000, 0x00000007c0000000)
region size 1024K, 98 young (100352K), 98 survivors (100352K)
Metaspace used 197130K, capacity 202198K, committed 206244K, reserved 1232896K
class space used 22121K, capacity 23031K, committed 23756K, reserved 1048576K
}
Event: 111345.420 GC heap before
{Heap before GC invocations=50782 (full 0):
garbage-first heap total 3145728K, used 2693168K [0x0000000700000000, 0x0000000700106000, 0x00000007c0000000)
region size 1024K, 1321 young (1352704K), 98 survivors (100352K)
Metaspace used 197130K, capacity 202198K, committed 206244K, reserved 1232896K
class space used 22121K, capacity 23031K, committed 23756K, reserved 1048576K
Event: 111345.608 GC heap after
Heap after GC invocations=50783 (full 0):
garbage-first heap total 3145728K, used 1469858K [0x0000000700000000, 0x0000000700106000, 0x00000007c0000000)
region size 1024K, 97 young (99328K), 97 survivors (99328K)
Metaspace used 197130K, capacity 202198K, committed 206244K, reserved 1232896K
class space used 22121K, capacity 23031K, committed 23756K, reserved 1048576K
}
Event: 111346.770 GC heap before
{Heap before GC invocations=50783 (full 0):
garbage-first heap total 3145728K, used 2274082K [0x0000000700000000, 0x0000000700106000, 0x00000007c0000000)
region size 1024K, 882 young (903168K), 97 survivors (99328K)
Metaspace used 197130K, capacity 202198K, committed 206244K, reserved 1232896K
class space used 22121K, capacity 23031K, committed 23756K, reserved 1048576K
Event: 111346.959 GC heap after
Heap after GC invocations=50784 (full 0):
garbage-first heap total 3145728K, used 1457712K [0x0000000700000000, 0x0000000700106000, 0x00000007c0000000)
region size 1024K, 62 young (63488K), 62 survivors (63488K)
Metaspace used 197130K, capacity 202198K, committed 206244K, reserved 1232896K
class space used 22121K, capacity 23031K, committed 23756K, reserved 1048576K
}
Event: 111348.567 GC heap before
{Heap before GC invocations=50784 (full 0):
garbage-first heap total 3145728K, used 2727856K [0x0000000700000000, 0x0000000700106000, 0x00000007c0000000)
region size 1024K, 1299 young (1330176K), 62 survivors (63488K)
Metaspace used 197130K, capacity 202198K, committed 206244K, reserved 1232896K
class space used 22121K, capacity 23031K, committed 23756K, reserved 1048576K
Event: 111348.696 GC heap after
Heap after GC invocations=50785 (full 0):
garbage-first heap total 3145728K, used 1485552K [0x0000000700000000, 0x0000000700106000, 0x00000007c0000000)
region size 1024K, 86 young (88064K), 86 survivors (88064K)
Metaspace used 197130K, capacity 202198K, committed 206244K, reserved 1232896K
class space used 22121K, capacity 23031K, committed 23756K, reserved 1048576K
}
Deoptimization events (10 events):
Event: 111133.233 Thread 0x000000004bcc9800 Uncommon trap: reason=range_check action=none pc=0x0000000004313528 method=sun.reflect.generics.parser.SignatureParser.current()C @ 34
Event: 111133.236 Thread 0x000000004bcc9800 Uncommon trap: reason=range_check action=none pc=0x0000000004313528 method=sun.reflect.generics.parser.SignatureParser.current()C @ 34
Event: 111133.236 Thread 0x000000004bcc9800 Uncommon trap: reason=range_check action=none pc=0x000000000576ddd4 method=sun.reflect.generics.parser.SignatureParser.current()C @ 34
Event: 111133.236 Thread 0x000000004bcc9800 Uncommon trap: reason=range_check action=none pc=0x000000000576ddd4 method=sun.reflect.generics.parser.SignatureParser.current()C @ 34
Event: 111133.236 Thread 0x000000004bcc9800 Uncommon trap: reason=range_check action=none pc=0x0000000004313528 method=sun.reflect.generics.parser.SignatureParser.current()C @ 34
Event: 111133.237 Thread 0x000000004bcc9800 Uncommon trap: reason=range_check action=none pc=0x000000000576ddd4 method=sun.reflect.generics.parser.SignatureParser.current()C @ 34
Event: 111133.237 Thread 0x000000004bcc9800 Uncommon trap: reason=range_check action=none pc=0x0000000004313528 method=sun.reflect.generics.parser.SignatureParser.current()C @ 34
Event: 111133.237 Thread 0x000000004bcc9800 Uncommon trap: reason=range_check action=none pc=0x000000000576ddd4 method=sun.reflect.generics.parser.SignatureParser.current()C @ 34
Event: 111133.237 Thread 0x000000004bcc9800 Uncommon trap: reason=range_check action=none pc=0x0000000004313528 method=sun.reflect.generics.parser.SignatureParser.current()C @ 34
Event: 111133.237 Thread 0x000000004bcc9800 Uncommon trap: reason=range_check action=none pc=0x0000000004313528 method=sun.reflect.generics.parser.SignatureParser.current()C @ 34
Classes redefined (10 events):
Event: 13655.261 Thread 0x000000001f9af000 redefined class name=org.apache.catalina.valves.ErrorReportValve, count=9
Event: 13655.750 Thread 0x000000001f9af000 redefined class name=org.apache.catalina.core.StandardHostValve, count=9
Event: 13656.279 Thread 0x000000001f9af000 redefined class name=org.apache.catalina.core.StandardEngineValve, count=9
Event: 13656.812 Thread 0x000000001f9af000 redefined class name=sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection, count=9
Event: 13657.667 Thread 0x000000001f9af000 redefined class name=sun.rmi.registry.RegistryImpl, count=17
Event: 13658.035 Thread 0x000000001f9af000 redefined class name=java.rmi.server.RemoteServer, count=9
Event: 13658.524 Thread 0x000000001f9af000 redefined class name=sun.rmi.transport.tcp.TCPTransport, count=9
Event: 13659.261 Thread 0x000000001f9af000 redefined class name=java.sql.CallableStatement, count=9
Event: 13659.766 Thread 0x000000001f9af000 redefined class name=java.sql.PreparedStatement, count=9
Event: 13660.446 Thread 0x000000001f9af000 redefined class name=java.sql.DatabaseMetaData, count=9
Internal exceptions (10 events):
Event: 111338.446 Thread 0x0000000049311000 Exception <a 'java/lang/InterruptedException'> (0x00000007bf300ca0) thrown at [C:\workspace\8-2-build-windows-amd64-cygwin\jdk8u192\11897\hotspot\src\share\vm\runtime\objectMonitor.cpp, line 1684]
Event: 111339.637 Thread 0x0000000049311000 Exception <a 'java/lang/InterruptedException'> (0x00000007bce178a8) thrown at [C:\workspace\8-2-build-windows-amd64-cygwin\jdk8u192\11897\hotspot\src\share\vm\runtime\objectMonitor.cpp, line 1684]
Event: 111339.654 Thread 0x0000000049311000 Exception <a 'java/lang/InterruptedException'> (0x00000007bce17ad0) thrown at [C:\workspace\8-2-build-windows-amd64-cygwin\jdk8u192\11897\hotspot\src\share\vm\runtime\objectMonitor.cpp, line 1684]
Event: 111343.128 Thread 0x000000002a1fa800 Exception <a 'java/net/SocketTimeoutException': Read timed out> (0x0000000787f914f8) thrown at [C:\workspace\8-2-build-windows-amd64-cygwin\jdk8u192\11897\hotspot\src\share\vm\prims\jni.cpp, line 735]
Event: 111344.688 Thread 0x000000002d20f000 Exception <a 'java/net/SocketTimeoutException': Read timed out> (0x0000000796c02f18) thrown at [C:\workspace\8-2-build-windows-amd64-cygwin\jdk8u192\11897\hotspot\src\share\vm\prims\jni.cpp, line 735]
Event: 111345.626 Thread 0x0000000049311000 Exception <a 'java/lang/InterruptedException'> (0x00000007bf984b28) thrown at [C:\workspace\8-2-build-windows-amd64-cygwin\jdk8u192\11897\hotspot\src\share\vm\runtime\objectMonitor.cpp, line 1684]
Event: 111348.132 Thread 0x000000002a1fa800 Exception <a 'java/net/SocketTimeoutException': Read timed out> (0x0000000783004818) thrown at [C:\workspace\8-2-build-windows-amd64-cygwin\jdk8u192\11897\hotspot\src\share\vm\prims\jni.cpp, line 735]
Event: 111348.253 Thread 0x000000003c725800 Exception <a 'java/net/SocketTimeoutException': Read timed out> (0x000000077ebf4d90) thrown at [C:\workspace\8-2-build-windows-amd64-cygwin\jdk8u192\11897\hotspot\src\share\vm\prims\jni.cpp, line 735]
Event: 111348.375 Thread 0x0000000049311000 Exception <a 'java/lang/InterruptedException'> (0x00000007bfe83468) thrown at [C:\workspace\8-2-build-windows-amd64-cygwin\jdk8u192\11897\hotspot\src\share\vm\runtime\objectMonitor.cpp, line 1684]
Event: 111349.702 Thread 0x000000002d20f000 Exception <a 'java/net/SocketTimeoutException': Read timed out> (0x000000078fd966a8) thrown at [C:\workspace\8-2-build-windows-amd64-cygwin\jdk8u192\11897\hotspot\src\share\vm\prims\jni.cpp, line 735]
Events (10 events):
Event: 111346.960 Executing VM operation: G1IncCollectionPause done
Event: 111346.965 Executing VM operation: GetAllStackTraces
Event: 111346.978 Executing VM operation: GetAllStackTraces done
Event: 111347.323 Thread 0x000000003bcc9000 Thread added: 0x000000003bcc9000
Event: 111348.523 Executing VM operation: GetAllStackTraces
Event: 111348.537 Executing VM operation: GetAllStackTraces done
Event: 111348.563 Executing VM operation: G1IncCollectionPause
Event: 111348.696 Executing VM operation: G1IncCollectionPause done
Event: 111349.687 Executing VM operation: GetAllStackTraces
Event: 111349.701 Executing VM operation: GetAllStackTraces done
--------------- S Y S T E M ---------------
OS: Windows 10.0 , 64 bit Build 14393 (10.0.14393.2906)
CPU:total 8 (initial active 8) (2 cores per cpu, 1 threads per core) family 6 model 79 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, erms, rtm, 3dnowpref, lzcnt, tsc, tscinvbit, bmi1, bmi2, adx
Memory: 4k page, physical 16776692k(1156280k free), swap 20597344k(3148996k free)
vm_info: Java HotSpot(TM) 64-Bit Server VM (25.192-b12) for windows-amd64 JRE (1.8.0_192-b12), built on Oct 6 2018 17:12:23 by "java_re" with MS VC++ 10.0 (VS2010)
最佳答案
我在 HotSpot Java 8 版本 20 上也遇到同样的问题,我将其升级到版本 102,现在不再有问题了。
我认为你应该更改 Java 版本
关于java - 由于 EXCEPTION_ACCESS_VIOLATION (0xc0000005) 导致线程 ConcurrentGCThread 导致 JVM 崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56306196/
我正在尝试使用 Spark 从 Cassandra 读取数据。 DataFrame rdf = sqlContext.read().option("keyspace", "readypulse
这是代码: void i_log_ (int error, const char * file, int line, const char * fmt, ...) { /* Get erro
我必须调试一个严重依赖 Gtk 的程序。问题是由于某些原因,在使用 GtkWindow 对象时开始出现许多运行时警告。问题是,即使 Gtk 提示严重错误,它也不会因这些错误而中止。我没有代码库的更改历
我正在尝试从已有效编译和链接的程序中检索二进制文件。我已经通过 GL_PROGRAM_BINARY_LENGTH 收到了它的长度。该文档说有两个实例可能会发生 GL_INVALID_OPERATION
我有一个托管在 Azure 环境中的服务。我正在使用控制台应用程序使用该服务。这样做时,我得到了异常: "The requested service, 'http://xxxx-d.yyyy.be/S
我有以下代码,它被 SEGV 信号杀死。使用调试器表明它被 main() 中的第一个 sem_init() 杀死。如果我注释掉第一个 sem_init() ,第二个会导致同样的问题。我试图弄清楚是什么
目前我正在编写一个应用程序(目标 iOS 6,启用 ARC),它使用 JSON 进行数据传输,使用核心数据进行持久存储。 JSON 数据由 PHP 脚本通过 json_encode 从 MySQL 数
我对 Xamarin.Forms 还是很陌生。我在出现的主页上有一个非常简单的功能 async public Task BaseAppearing() { if (UserID
这是我的代码的简化版本。 public class MainActivity extends ActionBarActivity { private ArrayList entry = new Arr
我想弄明白为什么我的两个 Java 库很难很好地协同工作。这是场景: 库 1 有一个类 A,其构造函数如下: public A(Object obj) { /* boilerplate */ } 在以
如果网站不需要身份验证,我的代码可以正常工作,如果需要,则在打印“已创建凭据”后会立即出现 EXC_BAD_ACCESS 错误。我不会发布任何内容,并且此代码是直接从文档中复制的 - 知道出了什么问题
我在使用 NSArray 填充 UITableView 时遇到问题。我确信我正在做一些愚蠢的事情,但我无法弄清楚。当我尝试进行简单的计数时,我得到了 EXC_BAD_ACCESS,我知道这是因为我试图
我在 UITableViewCell 上有一个 UITextField,在另一个单元格上有一个按钮。 我单击 UITextField(出现键盘)。 UITextField 调用了以下方法: - (BO
我有一个应用程序出现间歇性崩溃。崩溃日志显示了一个堆栈跟踪,这对我来说很难破译,因此希望其他人看到了这一点并能为我指出正确的方向。 基本上,应用程序在启动时执行反向地理编码请求,以在标签中显示用户的位
我开发了一个 CGImage,当程序使用以下命令将其显示在屏幕上时它工作正常: [output_view.layer performSelectorOnMainThread:@selector(set
我正在使用新的 EncryptedSharedPreferences以谷歌推荐的方式上课: private fun securePrefs(context: Context): SharedPrefe
我有一个中继器,里面有一些控件,其中一个是文本框。我正在尝试使用 jquery 获取文本框,我的代码如下所示: $("#").click(function (event) {}); 但我总是得到 nu
在以下场景中观察到 TTS 初始化错误,太随机了。 已安装 TTS 引擎,存在语音集,并且可以从辅助功能选项中播放示例 tts。 TTS 初始化在之前初始化和播放的同一设备上随机失败。 在不同的设备(
maven pom.xml org.openjdk.jol jol-core 0.10 Java 类: public class MyObjectData { pr
在不担心冲突的情况下,可以使用 MD5 作为哈希值,字符串长度最多为多少? 这可能是通过为特定字符集中的每个可能的字符串生成 MD5 哈希来计算的,长度不断增加,直到哈希第二次出现(冲突)。没有冲突的
我是一名优秀的程序员,十分优秀!