mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 02:24:40 +02:00
8313678: SymbolTable can leak Symbols during cleanup
Reviewed-by: coleenp, dholmes, shade
This commit is contained in:
parent
f41c267f85
commit
4b2703ad39
11 changed files with 68 additions and 29 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue