RFR (M): 8035330: Remove G1ParScanPartialArrayClosure and G1ParScanHeapEvacClosure
thomas.schatzl at oracle.com
Wed Feb 19 15:13:05 UTC 2014
can I have reviews for the following change that changes the
G1ParScanPartialArrayClosure and G1ParScanHeapEvacClosure closures into
methods of G1ParScanThreadState?
G1ParScanPartialArrayClosure and G1ParScanHeapEvacClosure are two
closures which do_oop_nv method is always called directly and from a
single location, i.e. G1ParScanThreadState.
This change removes the boiler plate code of these "closures" to avoid
more confusion (G1ParScanHeapEvacClosure was a candidate for oop closure
specialization although it was never called on an oop_iterate() method),
makes the do_oop_nv() methods into two methods of G1ParScanThreadState,
in addition to moving related code also into the vicinity.
Another minor change is that do_oop_evac() (the replacement for
G1ParScanHeapEvacClosure::do_oop_nc()) is stripped of the not-required
Based on the changes for 8035326 recently posted here.
More information about the hotspot-gc-dev