Integrated: 8253332: ZGC: Make heap views reservation platform independent
Stefan Karlsson
stefank at openjdk.java.net
Mon Sep 21 12:51:26 UTC 2020
On Fri, 18 Sep 2020 07:51:28 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:
> ZVirtualMemoryManager::reserve_contiguous_platform tries to reserve three views of a given address range. The posix and
> windows versions are more or less duplicates, with calls to platform dependent versions of reserve/unreserve functions.
> I'd like to clean this up in preparation of an alternative implementation for heap memory allocation on Windows.
>
> I choose to prefix the OS dependent functions with os_. For consistency, initialize_os should have been renamed as
> well, but the plan is to change that in a separate patch that splits that function into two, so I skipped it for now.
This pull request has now been integrated.
Changeset: fbfb62df
Author: Stefan Karlsson <stefank at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/fbfb62df
Stats: 115 lines in 4 files changed: 57 ins; 41 del; 17 mod
8253332: ZGC: Make heap views reservation platform independent
Reviewed-by: shade, pliden
-------------
PR: https://git.openjdk.java.net/jdk/pull/236
More information about the hotspot-gc-dev
mailing list