From e5d33163c776c90a857caac6f7d64ea636c75667 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Gr=C3=B6nlund?= Date: Tue, 16 Jun 2020 16:33:45 +0200 Subject: [PATCH] 8247660: 12 Uninitialised variable in 1 files Reviewed-by: egahlin --- .../share/jfr/utilities/jfrConcurrentLinkedListHost.inline.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hotspot/share/jfr/utilities/jfrConcurrentLinkedListHost.inline.hpp b/src/hotspot/share/jfr/utilities/jfrConcurrentLinkedListHost.inline.hpp index 06badb67acc..48b54fda18a 100644 --- a/src/hotspot/share/jfr/utilities/jfrConcurrentLinkedListHost.inline.hpp +++ b/src/hotspot/share/jfr/utilities/jfrConcurrentLinkedListHost.inline.hpp @@ -63,8 +63,8 @@ Node* find_adjacent(Node* head, const Node* tail, Node** predecessor, VersionHan assert(head != NULL, "invariant"); assert(tail != NULL, "invariant"); assert(head != tail, "invariant"); + Node* predecessor_next = NULL; while (true) { - Node* predecessor_next; Node* current = head; version_handle.checkout(); assert(version_handle.is_tracked(), "invariant");