8233608: Minimal build broken after JDK-8233494
authoraoqi
Wed, 06 Nov 2019 01:45:25 +0800
changeset 58940 e767fa6a1d45
parent 58938 358783d2ba0b
child 58941 00878bee8f4b
8233608: Minimal build broken after JDK-8233494 Reviewed-by: shade
src/hotspot/share/services/memTracker.hpp
--- 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) { }