diff -r 13588c901957 -r 9cf78a70fa4f src/hotspot/share/gc/g1/g1OopClosures.hpp --- a/src/hotspot/share/gc/g1/g1OopClosures.hpp Thu Oct 17 20:27:44 2019 +0100 +++ b/src/hotspot/share/gc/g1/g1OopClosures.hpp Thu Oct 17 20:53:35 2019 +0100 @@ -27,7 +27,7 @@ #include "gc/g1/g1HeapRegionAttr.hpp" #include "memory/iterator.hpp" -#include "oops/markOop.hpp" +#include "oops/markWord.hpp" class HeapRegion; class G1CollectedHeap; @@ -175,12 +175,10 @@ class G1CLDScanClosure : public CLDClosure { G1ParCopyHelper* _closure; bool _process_only_dirty; - int _claim; int _count; public: - G1CLDScanClosure(G1ParCopyHelper* closure, - bool process_only_dirty, int claim_value) - : _closure(closure), _process_only_dirty(process_only_dirty), _claim(claim_value), _count(0) {} + G1CLDScanClosure(G1ParCopyHelper* closure, bool process_only_dirty) + : _closure(closure), _process_only_dirty(process_only_dirty), _count(0) {} void do_cld(ClassLoaderData* cld); }; @@ -211,12 +209,12 @@ class G1ConcurrentRefineOopClosure: public BasicOopIterateClosure { G1CollectedHeap* _g1h; - uint _worker_i; + uint _worker_id; public: - G1ConcurrentRefineOopClosure(G1CollectedHeap* g1h, uint worker_i) : + G1ConcurrentRefineOopClosure(G1CollectedHeap* g1h, uint worker_id) : _g1h(g1h), - _worker_i(worker_i) { + _worker_id(worker_id) { } virtual ReferenceIterationMode reference_iteration_mode() { return DO_FIELDS; }