diff -r 5aaf3a471172 -r bc1336220671 src/hotspot/share/memory/padded.hpp --- a/src/hotspot/share/memory/padded.hpp Mon May 28 09:59:11 2018 +0200 +++ b/src/hotspot/share/memory/padded.hpp Mon May 28 11:13:21 2018 +0200 @@ -104,6 +104,8 @@ public: // Creates an aligned padded 2D array. // The memory cannot be deleted since the raw memory chunk is not returned. + // Always uses mmap to reserve memory. Only the first few pages with the index to + // the rows are touched. Allocation size should be "large" to cover page overhead. static T** create_unfreeable(uint rows, uint columns, size_t* allocation_size = NULL); };