8213445: jcmd VM.symboltable and VM.stringtable -verbose output contains no shared symbols or strings

Reviewed-by: iklam, dholmes
This commit is contained in:
Calvin Cheung 2022-04-21 15:40:29 +00:00
parent f166b5b13b
commit 73f3e17ea7
10 changed files with 240 additions and 60 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2021, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -146,7 +146,7 @@ class SymbolTable : public AllStatic {
static Arena* _arena;
static Arena* arena() { return _arena; } // called for statistics
static void print_table_statistics(outputStream* st, const char* table_name);
static void print_table_statistics(outputStream* st);
static void try_rehash_table();
static bool do_rehash();