-
Bug
-
Resolution: Unresolved
-
P4
-
17.0.7-oracle, 18, 20, 21-pool-oracle, 22
-
x86_64, aarch64
-
linux, os_x
serviceability/sa/TestJmapCore.java
Here's a snippet from the log file:
----------System.err:(53/4095)----------
sun.jvm.hotspot.debugger.UnmappedAddressException: 7f3bc0774000
at jdk.hotspot.agent/sun.jvm.hotspot.debugger.PageCache.checkPage(PageCache.java:208)
at jdk.hotspot.agent/sun.jvm.hotspot.debugger.PageCache.getData(PageCache.java:63)
at jdk.hotspot.agent/sun.jvm.hotspot.debugger.DebuggerBase.readBytes(DebuggerBase.java:225)
at jdk.hotspot.agent/sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.readCInteger(LinuxDebuggerLocal.java:565)
at jdk.hotspot.agent/sun.jvm.hotspot.debugger.DebuggerBase.readAddressValue(DebuggerBase.java:462)
at jdk.hotspot.agent/sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.readAddress(LinuxDebuggerLocal.java:500)
at jdk.hotspot.agent/sun.jvm.hotspot.debugger.linux.LinuxAddress.getAddressAt(LinuxAddress.java:73)
at jdk.hotspot.agent/sun.jvm.hotspot.gc.z.ZGranuleMapForForwarding.at(ZGranuleMapForForwarding.java:67)
at jdk.hotspot.agent/sun.jvm.hotspot.gc.z.ZGranuleMapForForwarding.get(ZGranuleMapForForwarding.java:72)
at jdk.hotspot.agent/sun.jvm.hotspot.gc.z.ZForwardingTable.get(ZForwardingTable.java:58)
at jdk.hotspot.agent/sun.jvm.hotspot.gc.z.ZHeap.relocate_object(ZHeap.java:96)
at jdk.hotspot.agent/sun.jvm.hotspot.gc.z.ZBarrier.relocate(ZBarrier.java:44)
at jdk.hotspot.agent/sun.jvm.hotspot.gc.z.ZBarrier.relocate_or_remap(ZBarrier.java:57)
at jdk.hotspot.agent/sun.jvm.hotspot.gc.z.ZBarrier.weak_load_barrier_on_oop_slow_path(ZBarrier.java:36)
at jdk.hotspot.agent/sun.jvm.hotspot.gc.z.ZBarrier.weak_barrier(ZBarrier.java:69)
at jdk.hotspot.agent/sun.jvm.hotspot.gc.z.ZCollectedHeap.oop_load_barrier(ZCollectedHeap.java:91)
at jdk.hotspot.agent/sun.jvm.hotspot.gc.z.ZCollectedHeap.oop_load_in_native(ZCollectedHeap.java:112)
at jdk.hotspot.agent/sun.jvm.hotspot.oops.VMOopHandle.resolve(VMOopHandle.java:60)
at jdk.hotspot.agent/sun.jvm.hotspot.oops.Klass.getJavaMirror(Klass.java:114)
at jdk.hotspot.agent/sun.jvm.hotspot.utilities.HeapHprofBinWriter$5.visit(HeapHprofBinWriter.java:1140)
at jdk.hotspot.agent/sun.jvm.hotspot.classfile.ClassLoaderData.classesDo(ClassLoaderData.java:107)
at jdk.hotspot.agent/sun.jvm.hotspot.classfile.ClassLoaderDataGraph.classesDo(ClassLoaderDataGraph.java:84)
at jdk.hotspot.agent/sun.jvm.hotspot.utilities.HeapHprofBinWriter.writeClasses(HeapHprofBinWriter.java:1137)
at jdk.hotspot.agent/sun.jvm.hotspot.utilities.HeapHprofBinWriter.write(HeapHprofBinWriter.java:460)
at jdk.hotspot.agent/sun.jvm.hotspot.tools.JMap.writeHeapHprofBin(JMap.java:216)
at jdk.hotspot.agent/sun.jvm.hotspot.tools.JMap.run(JMap.java:103)
at jdk.hotspot.agent/sun.jvm.hotspot.tools.Tool.startInternal(Tool.java:278)
at jdk.hotspot.agent/sun.jvm.hotspot.tools.Tool.start(Tool.java:241)
at jdk.hotspot.agent/sun.jvm.hotspot.tools.Tool.execute(Tool.java:134)
at jdk.hotspot.agent/sun.jvm.hotspot.tools.JMap.main(JMap.java:202)
at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.runJMAP(SALauncher.java:340)
at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.main(SALauncher.java:500)
java.io.EOFException
at java.base/java.io.DataInputStream.readFully(DataInputStream.java:203)
at java.base/java.io.DataInputStream.readFully(DataInputStream.java:172)
at jdk.test.lib.hprof.parser.HprofReader.read(HprofReader.java:228)
at jdk.test.lib.hprof.parser.Reader.readFile(Reader.java:95)
at jdk.test.lib.hprof.HprofParser.parse(HprofParser.java:85)
at jdk.test.lib.hprof.HprofParser.parse(HprofParser.java:54)
at TestJmapCore.test(TestJmapCore.java:106)
at TestJmapCore.main(TestJmapCore.java:70)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
at java.base/java.lang.Thread.run(Thread.java:833)
JavaTest Message: Test threw exception: java.io.EOFException
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.io.EOFException
The test task's JVM args are: -XX:+CreateCoredumpOnCrash -XX:+UseZGC
- duplicates
-
JDK-8296914 serviceability/sa/TestJmapCore.java failed: OOME and UnmappedAddressException
- Closed
- relates to
-
JDK-8268283 ZGC: serviceability/sa/TestJmapCore.java failed on linux-aarch64 after JDK-8266957
- Open
-
JDK-8268636 ZGC: serviceability/sa/TestJmapCoreMetaspace.java fails with "ClassCastException: class sun.jvm.hotspot.oops.TypeArray cannot be cast to class sun.jvm.hotspot.oops.Instance"
- Open
-
JDK-8314550 [macosx-aarch64] serviceability/sa/TestJmapCore.java fails with "sun.jvm.hotspot.debugger.UnmappedAddressException: 801000800"
- Resolved
-
JDK-8276539 Some SA tests fails with ZGC
- Open
-
JDK-8307393 The SA lacks support for Generational ZGC
- Open