RFR: 8200111: MallocArrayAllocator::free should not take a length parameter

Stefan Karlsson stefan.karlsson at oracle.com
Thu Mar 22 15:31:52 UTC 2018


Hi all,

Please review this trivial patch to remove the length parameter from 
MallocArrayAllocator::free:

http://cr.openjdk.java.net/~stefank/8200111/webrev.01/
https://bugs.openjdk.java.net/browse/JDK-8200111

This makes the MallocArrayAllocator as easy to use as the 
NEW_C_HEAP_ARRAY and FREE_C_HEAP_ARRAY.

Thanks,
StefanK


More information about the hotspot-dev mailing list