--- 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 --- old/src/hotspot/share/memory/allocation.inline.hpp 2018-03-22 16:24:48.700912492 +0100 +++ new/src/hotspot/share/memory/allocation.inline.hpp 2018-03-22 16:24:48.500912499 +0100 @@ -105,7 +105,7 @@ } template -void MallocArrayAllocator::free(E* addr, size_t /*length*/) { +void MallocArrayAllocator::free(E* addr) { FreeHeap(addr); } @@ -152,7 +152,7 @@ template void ArrayAllocator::free_malloc(E* addr, size_t length) { - MallocArrayAllocator::free(addr, length); + MallocArrayAllocator::free(addr); } template