RFR: 8202081: Introduce CollectedHeap::is_oop()

Erik Österlund erik.osterlund at oracle.com
Fri Apr 20 13:08:25 UTC 2018


Hi Stefan,

Looks great.

Thanks,
/Erik

On 2018-04-20 14:27, Stefan Karlsson wrote:
> Hi all,
>
> I'd like to propose that we add a virtual CollectedHeap::is_oop() 
> function, so that GCs can add GC specific checks when verifying oops.
>
> We've been running with this patch in the ZGC repository for a while, 
> but the patch is ZGC agnostic:
> http://hg.openjdk.java.net/zgc/zgc/rev/66eb1ad3de72
> https://bugs.openjdk.java.net/browse/JDK-8202081
>
> (I can create a webrev if needed)
>
> Thanks,
> StefanK



More information about the hotspot-gc-dev mailing list