RFR: 8205607: Use oop_iterate instead of oop_iterate_no_header

Stefan Karlsson stefan.karlsson at oracle.com
Mon Jun 25 12:25:21 UTC 2018


Hi all,

Please review this patch to use oop_iterate instead of 
oop_iterate_no_headers.

http://cr.openjdk.java.net/~stefank/8205607/webrev.01/
https://bugs.openjdk.java.net/browse/JDK-8205607

oop_iterate_no_header is a convenience function that allows developers 
to pass in sub classes of OopClosures, instead of sub classes of 
OopIterateClosure, to the oop_iterate machinery.

I propose that we remove this function, and change the few closures 
where this is used, to inherit from OopIterateClosure instead of OopClosure.

Thanks,
StefanK



More information about the hotspot-gc-dev mailing list