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

Per Liden per.liden at oracle.com
Thu Dec 12 08:53:46 UTC 2019


Thanks Stefan.

/Per

On 12/11/19 6:36 PM, Stefan Karlsson wrote:
> Looks good.
> 
> StefanK
> 
> On 2019-12-11 16:33, 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
>>
>> /Per
> 



More information about the hotspot-gc-dev mailing list