8313678: SymbolTable can leak Symbols during cleanup

Reviewed-by: coleenp, dholmes, shade
This commit is contained in:
Oli Gillespie 2023-08-14 15:58:03 +00:00 committed by Aleksey Shipilev
parent f41c267f85
commit 4b2703ad39
11 changed files with 68 additions and 29 deletions

View file

@ -187,13 +187,16 @@ public:
uintx get_hash() const {
return _hash;
}
bool equals(ThreadIdTableEntry** value, bool* is_dead) {
bool equals(ThreadIdTableEntry** value) {
bool equals = primitive_equals(_tid, (*value)->tid());
if (!equals) {
return false;
}
return true;
}
bool is_dead(ThreadIdTableEntry** value) {
return false;
}
};
class ThreadGet : public StackObj {