RFR: JDK-8263559: Add missing initializers to VM_PopulateDumpSharedSpace
Kim Barrett
kbarrett at openjdk.java.net
Sun Mar 14 18:56:07 UTC 2021
On Sun, 14 Mar 2021 06:30:32 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
> Trivial.
>
> Sonarcloud reports missing initializers in VM_PopulateDumpSharedSpace. I don't see how this could lead to an error, since these members are initialized later, but for cleanliness sake lets initialize them.
It seems like the later assignments to NULL should no longer be needed, and maybe just confuse things by making the reader wonder if they got assigned to something else at some point between construction and the assignments.
-------------
PR: https://git.openjdk.java.net/jdk/pull/2996
More information about the hotspot-runtime-dev
mailing list