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
@@ -72,7 +72,7 @@ class StringTable : public CHeapObj<mtSymbol>{
static oop do_intern(Handle string_or_null, const jchar* name, int len, uintx hash, TRAPS);
static oop do_lookup(const jchar* name, int len, uintx hash);
static void print_table_statistics(outputStream* st, const char* table_name);
static void print_table_statistics(outputStream* st);
static bool do_rehash();