Skip to content

Commit a285393

Browse files
committed
Bug
1 parent 19ea4f4 commit a285393

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/hotspot/share/nmt/memTagFactory.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ struct NameToTagTable {
105105
if (strcmp(names.at(ei), name) == 0) {
106106
return;
107107
}
108+
link = e.next;
108109
}
109110
const char* name_copy = os::strdup(name, mtNMT);
110111
MemTagI idx = index(tag);
@@ -122,6 +123,7 @@ struct NameToTagTable {
122123
if (strcmp(names.at(index(e.tag)), name) == 0) {
123124
return e.tag;
124125
}
126+
link = e.next;
125127
}
126128
return mtNone;
127129
}

0 commit comments

Comments
 (0)