JDK-8218005 : ParallelTaskTerminator destroyed while apparently active
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2019-01-29
  • Updated: 2019-05-28
  • Resolved: 2019-05-28
Related Reports
Duplicate :  
Relates :  
Relates :  
Relates :  
Description
The following assertion was encountered while running the test

  gc/g1/humongousObjects/TestNoAllocationsInHRegions.java

on Windows-x64.  I don't see anything in the failure that is specific to either the platform or the test though.

#  Internal Error (t:/workspace/open/src/hotspot/share/gc/shared/taskqueue.cpp:123), pid=17724, tid=5560
#  assert(_offered_termination == 0 || _offered_termination == _n_threads) failed: Terminated or aborted

Current thread (0x0000002208c28800):  ConcurrentGCThread "G1 Main Marker" [stack: 0x0000002220b40000,0x0000002220c40000] [id=5560]

Stack: [0x0000002220b40000,0x0000002220c40000]
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [jvm.dll+0xb5e701]  os::platform_print_native_stack+0xf1  (os_windows_x86.cpp:369)
V  [jvm.dll+0xd7df20]  VMError::report+0xe80  (vmerror.cpp:698)
V  [jvm.dll+0xd7f774]  VMError::report_and_die+0x854  (vmerror.cpp:1471)
V  [jvm.dll+0xd7fe34]  VMError::report_and_die+0x64  (vmerror.cpp:1295)
V  [jvm.dll+0x57f2ee]  report_vm_error+0x7e  (debug.cpp:232)
V  [jvm.dll+0xcddfa2]  ParallelTaskTerminator::~ParallelTaskTerminator+0xb2  (taskqueue.cpp:124)
V  [jvm.dll+0x54bc7b]  OWSTTaskTerminator::`scalar deleting destructor'+0x1b
V  [jvm.dll+0xcde029]  TaskTerminator::operator=+0x29  (taskqueue.cpp:289)
V  [jvm.dll+0x681b62]  G1ConcurrentMark::set_concurrency+0x92  (g1concurrentmark.cpp:591)
V  [jvm.dll+0x67f7e5]  G1ConcurrentMark::mark_from_roots+0x125  (g1concurrentmark.cpp:975)
V  [jvm.dll+0x684b88]  G1ConcurrentMarkThread::run_service+0x778  (g1concurrentmarkthread.cpp:307)
V  [jvm.dll+0x533506]  ConcurrentGCThread::run+0x126  (concurrentgcthread.cpp:81)
V  [jvm.dll+0xd1719a]  Thread::call_run+0x2ea  (thread.cpp:405)
V  [jvm.dll+0xb5cfa3]  thread_native_entry+0x123  (os_windows.cpp:459)
C  [ucrtbase.DLL+0x1d885]
C  [KERNEL32.DLL+0x13d2]
C  [ntdll.dll+0x154f4]

Comments
Duplicate of JDK-8217794.
29-01-2019

The failure occurred in a build which contains JDK-8215047, but not JDK-8217794. This might be an occurrence of the JDK-8217794 problem.
29-01-2019