--- a/src/hotspot/share/jfr/recorder/checkpoint/types/jfrTypeSetUtils.hpp Thu Oct 24 16:28:51 2019 +0200
+++ b/src/hotspot/share/jfr/recorder/checkpoint/types/jfrTypeSetUtils.hpp Thu Oct 24 16:37:22 2019 +0200
@@ -222,6 +222,8 @@
CStringTable* _cstring_table;
const SymbolEntry* _sym_list;
const CStringEntry* _cstring_list;
+ const Symbol* _sym_query;
+ const char* _cstring_query;
traceid _symbol_id_counter;
bool _class_unload;
@@ -300,9 +302,7 @@
~JfrArtifactSet();
// caller needs ResourceMark
- void initialize(bool class_unload);
- void clear();
-
+ void initialize(bool class_unload, bool clear = false);
traceid mark(uintptr_t hash, const Symbol* sym, bool leakp);
traceid mark(const Klass* klass, bool leakp);