--- old/src/hotspot/share/memory/allocation.hpp 2018-03-22 16:24:48.364912504 +0100 +++ new/src/hotspot/share/memory/allocation.hpp 2018-03-22 16:24:48.164912511 +0100 @@ -549,7 +549,7 @@ static size_t size_for(size_t length); static E* allocate(size_t length, MEMFLAGS flags); - static void free(E* addr, size_t length); + static void free(E* addr); }; #endif // SHARE_VM_MEMORY_ALLOCATION_HPP