RFR: 8235696: ZGC: assert(ZNMethod::is_armed(nm) == _should_disarm_nmethods) failed: Invalid state

Per Liden per.liden at oracle.com
Wed Dec 11 15:33:13 UTC 2019


The assert in ZRootsIteratorCodeBlobClosure::do_code_blob() fails to 
take into account that some nmethods don't have an entry barrier at all 
and those are always considered disarmed. This patch adjusts the assert 
accordingly.

Bug: https://bugs.openjdk.java.net/browse/JDK-8235696
Webrev: http://cr.openjdk.java.net/~pliden/8235696/webrev.0

/Per



More information about the hotspot-gc-dev mailing list