mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 09:34:38 +02:00
8292225: Rename ArchiveBuilder APIs related to source and buffered addresses
Reviewed-by: ccheung
This commit is contained in:
parent
155b10ae86
commit
41ce658267
8 changed files with 104 additions and 87 deletions
|
@ -629,7 +629,7 @@ void SymbolTable::copy_shared_symbol_table(GrowableArray<Symbol*>* symbols,
|
|||
ArchiveBuilder* builder = ArchiveBuilder::current();
|
||||
int len = symbols->length();
|
||||
for (int i = 0; i < len; i++) {
|
||||
Symbol* sym = ArchiveBuilder::get_relocated_symbol(symbols->at(i));
|
||||
Symbol* sym = ArchiveBuilder::get_buffered_symbol(symbols->at(i));
|
||||
unsigned int fixed_hash = hash_shared_symbol((const char*)sym->bytes(), sym->utf8_length());
|
||||
assert(fixed_hash == hash_symbol((const char*)sym->bytes(), sym->utf8_length(), false),
|
||||
"must not rehash during dumping");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue