mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8244540: Print more information with -XX:+PrintSharedArchiveAndExit
Reviewed-by: iklam, ccheung
This commit is contained in:
parent
e073486ffe
commit
928fa5b5f9
8 changed files with 294 additions and 11 deletions
|
@ -275,6 +275,13 @@ void SymbolTable::symbols_do(SymbolClosure *cl) {
|
|||
_local_table->do_safepoint_scan(sd);
|
||||
}
|
||||
|
||||
// Call function for all symbols in shared table. Used by -XX:+PrintSharedArchiveAndExit
|
||||
void SymbolTable::shared_symbols_do(SymbolClosure *cl) {
|
||||
SharedSymbolIterator iter(cl);
|
||||
_shared_table.iterate(&iter);
|
||||
_dynamic_shared_table.iterate(&iter);
|
||||
}
|
||||
|
||||
Symbol* SymbolTable::lookup_dynamic(const char* name,
|
||||
int len, unsigned int hash) {
|
||||
Symbol* sym = do_lookup(name, len, hash);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue