changeset 56833:e767fa6a1d45

8233608: Minimal build broken after JDK-8233494 Reviewed-by: shade
author aoqi
date Wed, 06 Nov 2019 01:45:25 +0800
parents 358783d2ba0b
children 00878bee8f4b
files src/hotspot/share/services/memTracker.hpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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) { }