RFR: 8234654: ZGC: Only disarm NMethods when marking/relocating code roots

Per Liden per.liden at oracle.com
Fri Nov 22 14:03:18 UTC 2019

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.

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


More information about the hotspot-gc-dev mailing list