8339159: api/java_rmi/Naming/Rebind.html crashes with SEGV from UTF8::quoted_ascii_length call
Reviewed-by: iklam, aboldtch
This commit is contained in:
parent
6d4bd6c6b6
commit
cfbf74fca4
@ -174,7 +174,8 @@ public:
|
||||
log_trace_symboltable_helper(&value, "Freeing permanent symbol");
|
||||
size_t alloc_size = SymbolTableHash::get_dynamic_node_size(value.byte_size());
|
||||
if (!SymbolTable::arena()->Afree(memory, alloc_size)) {
|
||||
log_trace_symboltable_helper(&value, "Leaked permanent symbol");
|
||||
// Can't access the symbol after Afree, but we just printed it above.
|
||||
NOT_PRODUCT(log_trace(symboltable)(" - Leaked permanent symbol");)
|
||||
}
|
||||
}
|
||||
SymbolTable::item_removed();
|
||||
|
Loading…
Reference in New Issue
Block a user