--- old/src/hotspot/share/gc/g1/heapRegion.hpp 2019-09-30 17:13:11.812029376 -0700 +++ new/src/hotspot/share/gc/g1/heapRegion.hpp 2019-09-30 17:13:11.432029389 -0700 @@ -291,6 +291,8 @@ // for the collection set. double _predicted_elapsed_time_ms; + uint _node_index; + // Iterate over the references covered by the given MemRegion in a humongous // object and apply the given closure to them. // Humongous objects are allocated directly in the old-gen. So we need special @@ -685,6 +687,9 @@ // the strong code roots list for this region void strong_code_roots_do(CodeBlobClosure* blk) const; + uint node_index() const { return _node_index; } + void set_node_index(uint node_index) { _node_index = node_index; } + // Verify that the entries on the strong code root list for this // region are live and include at least one pointer into this region. void verify_strong_code_roots(VerifyOption vo, bool* failures) const;