RFR: 8264050: Remove unused field VM_HeapWalkOperation::_collecting_heap_roots

Thomas Schatzl tschatzl at openjdk.java.net
Tue Mar 23 17:02:39 UTC 2021


On Tue, 23 Mar 2021 15:06:02 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> SonarCloud reports field `_collecting_heap_roots` is not initialized after constructor ends. In fact, that field is not used anywhere. It was like that since the initial load. We can trivially remove it.

Lgtm and trivial.

-------------

Marked as reviewed by tschatzl (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/3153


More information about the hotspot-dev mailing list