Integrated: 8255254: Split os::reserve_memory and os::map_memory_to_file interfaces

Anton Kozlov akozlov at openjdk.java.net
Tue Oct 27 20:40:19 UTC 2020


On Thu, 22 Oct 2020 15:40:19 GMT, Anton Kozlov <akozlov at openjdk.org> wrote:

> Hi,
> 
> Please review a change to extract map_memory_to_file interface out of reserve_memory when the latter takes file descriptor.
> 
> The change should be a pure refactoring without changes in functionality. The only part is disturbing: a comment in original os_posix.cpp:316 seems to refer to else clause and it contradicts to the actual code.

This pull request has now been integrated.

Changeset: acd0e256
Author:    Anton Kozlov <akozlov at openjdk.org>
Committer: Vladimir Kempik <vkempik at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/acd0e256
Stats:     171 lines in 9 files changed: 88 ins; 55 del; 28 mod

8255254: Split os::reserve_memory and os::map_memory_to_file interfaces

Reviewed-by: stefank, stuefe

-------------

PR: https://git.openjdk.java.net/jdk/pull/812


More information about the hotspot-dev mailing list