RFR: 8205028: ZGC: Remove incorrect comment in ZHeap::object_iterate()

Erik Österlund erik.osterlund at oracle.com
Thu Jun 14 10:30:03 UTC 2018


Hi Per,

Looks good.

Thanks,
/Erik

On 2018-06-14 11:50, Per Liden wrote:
> The comment in ZHeap::object_iterate() saying "Should only be called 
> in a safepoint after mark end" is incorrect and should be removed. 
> It's still true that this should only be called in a safepoint (which 
> the assert below checks), but the part about "after mark end" is not 
> true.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8205028
> Webrev: http://cr.openjdk.java.net/~pliden/8205028/webrev.0
>
> /Per




More information about the hotspot-gc-dev mailing list