ZRootIterator will currently always try to disarm on-stack NMethods. Strictly speaking, we should only do this when marking/relocating code roots, not when e.g. iterating the heap.
- relates to
-
JDK-8235696 ZGC: assert(ZNMethod::is_armed(nm) == _should_disarm_nmethods) failed: Invalid state
-
- Closed
-