RFR: 8235696: ZGC: assert(ZNMethod::is_armed(nm) == _should_disarm_nmethods) failed: Invalid state
per.liden at oracle.com
Wed Dec 11 16:38:13 UTC 2019
On 12/11/19 5:31 PM, erik.osterlund at oracle.com wrote:
> Hi Per,
> Looks good.
> On 12/11/19 4:33 PM, Per Liden wrote:
>> 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
More information about the hotspot-gc-dev