Integrated: 8264050: Remove unused field VM_HeapWalkOperation::_collecting_heap_roots

Aleksey Shipilev shade at openjdk.java.net
Wed Mar 24 06:53:40 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.

This pull request has now been integrated.

Changeset: da512bf5
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/da512bf5
Stats:     1 line in 1 file changed: 0 ins; 1 del; 0 mod

8264050: Remove unused field VM_HeapWalkOperation::_collecting_heap_roots

Reviewed-by: coleenp, tschatzl

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

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


More information about the serviceability-dev mailing list