< prev index next >

src/share/vm/classfile/symbolTable.hpp

Print this page
rev 9056 : 8185525: Add JFR event for DictionarySizes
Summary: Added TableStatistics event
Reviewed-by: egahlin, coleenp

@@ -137,10 +137,12 @@
   };
 
   // The symbol table
   static SymbolTable* the_table() { return _the_table; }
 
+  TableStatistics get_table_statistics();
+
   // Size of one bucket in the string table.  Used when checking for rollover.
   static uint bucket_size() { return sizeof(HashtableBucket<mtSymbol>); }
 
   static void create_table() {
     assert(_the_table == NULL, "One symbol table allowed.");

@@ -292,10 +294,11 @@
     : RehashableHashtable<oop, mtSymbol>((int)StringTableSize, sizeof (HashtableEntry<oop, mtSymbol>), t,
                      number_of_entries) {}
 public:
   // The string table
   static StringTable* the_table() { return _the_table; }
+  TableStatistics get_table_statistics();
 
   // Size of one bucket in the string table.  Used when checking for rollover.
   static uint bucket_size() { return sizeof(HashtableBucket<mtSymbol>); }
 
   static void create_table() {
< prev index next >