-
Bug
-
Resolution: Fixed
-
P1
-
16
-
b12
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8266354 | 11.0.14 | Lin Zang | P1 | Resolved | Fixed | b01 |
'JDK-8215624: Add parallel heap iteration for jmap –histo' implemented a way to parallelize heap inspection. There is a mismatch between the number of requested parallel heap inspection threads, and the number of actually spawned threads.
The heap region claimer is initialized with the value requested by the heap inspection system, while the task spawning mechanism uses the current active number of GC threads.
# assert(worker_id < _n_workers) failed: Invalid worker_id.
V [libjvm.so+0xcb85dc] HeapRegionClaimer::offset_for_worker(unsigned int) const+0x4c
V [libjvm.so+0xaeabfb] G1ParallelObjectIterator::object_iterate(ObjectClosure*, unsigned int)+0x3b
V [libjvm.so+0xc9f66e] ParHeapInspectTask::work(unsigned int)+0x7e
V [libjvm.so+0x187cfd4] GangWorker::run_task(WorkData)+0x84
The heap region claimer is initialized with the value requested by the heap inspection system, while the task spawning mechanism uses the current active number of GC threads.
# assert(worker_id < _n_workers) failed: Invalid worker_id.
V [libjvm.so+0xcb85dc] HeapRegionClaimer::offset_for_worker(unsigned int) const+0x4c
V [libjvm.so+0xaeabfb] G1ParallelObjectIterator::object_iterate(ObjectClosure*, unsigned int)+0x3b
V [libjvm.so+0xc9f66e] ParHeapInspectTask::work(unsigned int)+0x7e
V [libjvm.so+0x187cfd4] GangWorker::run_task(WorkData)+0x84
- backported by
-
JDK-8266354 JDK-8215624 causes assert(worker_id < _n_workers) failed: Invalid worker_id
- Resolved
- relates to
-
JDK-8215624 Add parallel heap iteration for jmap –histo
- Resolved