JDK-8272401 : [lworld] serviceability/dcmd/gc/HeapDumpTest.java fails
  • Type: Sub-task
  • Component: hotspot
  • Sub-Component: svc
  • Affected Version: repo-valhalla
  • Priority: P4
  • Status: Resolved
  • Resolution: Duplicate
  • Submitted: 2021-08-13
  • Updated: 2022-01-11
  • Resolved: 2022-01-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
repo-valhallaResolved
Related Reports
Duplicate :  
Relates :  
Description
This happens with the fix in JDK-8272290, plus the patch https://bugs.openjdk.java.net/secure/attachment/95973/refval-v1.patch

#  Internal Error (src/hotspot/share/services/heapDumper.cpp:735), pid=20401, tid=20411
#  Error: ShouldNotReachHere()

Stack: [0x00007f6bd8230000,0x00007f6bd8330000],  sp=0x00007f6bd832e4f0,  free space=1017k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0xdee49e]  DumperSupport::sig2size(Symbol*)+0x7e
V  [libjvm.so+0xdeefc0]  DumperSupport::get_static_fields_size(InstanceKlass*, unsigned short&)+0x1b0
V  [libjvm.so+0xdf546b]  DumperSupport::dump_class_and_array_classes(DumpWriter*, Klass*)+0x6b
V  [libjvm.so+0x9c82fd]  ClassLoaderData::classes_do(KlassClosure*)+0x3d
V  [libjvm.so+0x9d254d]  ClassLoaderDataGraph::classes_do(KlassClosure*)+0x1bd
V  [libjvm.so+0xdf2f2f]  VM_HeapDumper::work(unsigned int) [clone .part.0]+0xdf
V  [libjvm.so+0x1adb2e0]  WorkGang::run_task(AbstractGangTask*, unsigned int, bool)+0x140
V  [libjvm.so+0xdecf4c]  VM_HeapDumper::doit()+0x16c
V  [libjvm.so+0x1a6beda]  VM_Operation::evaluate()+0x18a
V  [libjvm.so+0x1a8f453]  VMThread::evaluate_operation(VM_Operation*)+0x183
V  [libjvm.so+0x1a900dc]  VMThread::inner_execute(VM_Operation*)+0x20c
V  [libjvm.so+0x1a90325]  VMThread::loop()+0xb5
V  [libjvm.so+0x1a90457]  VMThread::run()+0xc7
V  [libjvm.so+0x196ff60]  Thread::call_run()+0x100
V  [libjvm.so+0x16205b4]  thread_native_entry(Thread*)+0x104
Comments
Closing as a dup of JDK-8267697. Please reopen if there are still some issues with VM dumper
11-01-2022

JDK-8267697 fix should fix this issues as well. Current codebase fails during compilation with the patch (refval-v1.patch) applied.
11-01-2022