RFR: JDK-8263559: Add missing initializers to VM_PopulateDumpSharedSpace

Ioi Lam iklam at openjdk.java.net
Sun Mar 14 23:20:10 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.

Looks good and trivial. Thanks for fixing this.

Oops,  agree with Kim. The later assignments to NULL should be removed.

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

Marked as reviewed by iklam (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/2996Changes requested by iklam (Reviewer).


More information about the hotspot-runtime-dev mailing list