RFR: 8264050: Remove unused field VM_HeapWalkOperation::_collecting_heap_roots

Coleen Phillimore coleenp at openjdk.java.net
Tue Mar 23 15:19:41 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.

SCCS says it was used once. Thanks for removing it.

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

Marked as reviewed by coleenp (Reviewer).

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


More information about the serviceability-dev mailing list