--- old/src/hotspot/share/runtime/thread.hpp 2019-05-04 16:22:58.213560592 -0700 +++ new/src/hotspot/share/runtime/thread.hpp 2019-05-04 16:22:56.947558705 -0700 @@ -1152,7 +1152,7 @@ public: static jlong* _jvmci_old_thread_counters; - static void collect_counters(JVMCIEnv* JVMCIENV, JVMCIPrimitiveArray array); + static void collect_counters(jlong* array, int length); private: #endif // INCLUDE_JVMCI