Integrated: 8266349: Pass down requested page size to reserve_memory_special

Stefan Johansson sjohanss at openjdk.java.net
Fri May 7 11:36:53 UTC 2021


On Wed, 5 May 2021 10:29:32 GMT, Stefan Johansson <sjohanss at openjdk.org> wrote:

> Please review this enhancement that passes the requested page size in `ReservedSpace` down to the OS-layer.
> 
> **Summary**
> After recent refactoring `ReservedSpace` now store the page size used for a reservation. To make this more consistent this change passes down the page size from the `ReservedSpace` down to the OS-layer when using explicit large pages. Currently this is not really needed because we only support one large page size during the lifetime of the JVM, but this will change with PR #1153. That PR will be simpler to implement if the requested page size is passed down from the layers above. 
> 
> **Testing**
> Local testing together with parts of PR #1153. Mach5 tier 1-3

This pull request has now been integrated.

Changeset: 2798b0d9
Author:    Stefan Johansson <sjohanss at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/2798b0d98ab4191fc94e210d57422854cf13f11e
Stats:     38 lines in 10 files changed: 4 ins; 0 del; 34 mod

8266349: Pass down requested page size to reserve_memory_special

Reviewed-by: stuefe, mgkwill

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

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


More information about the hotspot-dev mailing list