--- a/src/hotspot/share/services/memTracker.hpp Tue Nov 05 09:59:21 2019 -0800
+++ b/src/hotspot/share/services/memTracker.hpp Wed Nov 06 01:45:25 2019 +0800
@@ -59,7 +59,7 @@
static inline size_t malloc_header_size(NMT_TrackingLevel level) { return 0; }
static inline size_t malloc_header_size(void* memblock) { return 0; }
static inline void* malloc_base(void* memblock) { return memblock; }
- static inline void* record_free(void* memblock) { return memblock; }
+ static inline void* record_free(void* memblock, NMT_TrackingLevel level) { return memblock; }
static inline void record_new_arena(MEMFLAGS flag) { }
static inline void record_arena_free(MEMFLAGS flag) { }