--- old/src/hotspot/share/runtime/thread.hpp 2019-05-31 08:53:38.000000000 -0700 +++ new/src/hotspot/share/runtime/thread.hpp 2019-05-31 08:53:37.000000000 -0700 @@ -1152,6 +1152,11 @@ public: static jlong* _jvmci_old_thread_counters; static void collect_counters(jlong* array, int length); + + bool resize_counters(int current_size, int new_size); + + static bool resize_all_jvmci_counters(int new_size); + private: #endif // INCLUDE_JVMCI