RFR: 8266349: Pass down requested page size to reserve_memory_special [v2]

Stefan Johansson sjohanss at openjdk.java.net
Fri May 7 08:51:15 UTC 2021


> 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

Stefan Johansson has updated the pull request incrementally with one additional commit since the last revision:

  Thomas review. Update assert.

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/3878/files
  - new: https://git.openjdk.java.net/jdk/pull/3878/files/fc36939e..1afa0013

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=3878&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=3878&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3878.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3878/head:pull/3878

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


More information about the hotspot-dev mailing list