Integrated: 8253926: Use extra_size correctly in anon_mmap_aligned
Stefan Johansson
sjohanss at openjdk.java.net
Fri Oct 2 11:48:44 UTC 2020
On Fri, 2 Oct 2020 10:00:27 GMT, Stefan Johansson <sjohanss at openjdk.org> wrote:
> A recent cleanup ([8253638: Cleanup os::reserve_memory and remove MAP_FIXED](https://github.com/openjdk/jdk/pull/357/))
> got a size mixed up in `anon_mmap_aligned()`. Instead of passing down the calculated `extra_size` to `anon_mmap()` it
> uses the original size `bytes`. This resulted in an early crash when using large pages and with this fix the crash
> goes away.
This pull request has now been integrated.
Changeset: f686a380
Author: Stefan Johansson <sjohanss at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/f686a380
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
8253926: Use extra_size correctly in anon_mmap_aligned
Reviewed-by: shade, kbarrett, tschatzl, stefank
-------------
PR: https://git.openjdk.java.net/jdk/pull/479
More information about the hotspot-runtime-dev
mailing list