RFR: 8264540: WhiteBox.metaspaceReserveAlignment should return shared region alignment [v3]

Yumin Qi minqi at openjdk.java.net
Fri Apr 2 17:31:39 UTC 2021


> Hi, Please review
>   After JDK-8236847, the shared region alignment (new as MetaspaceShared::core_region_alignment) is no longer default to os pagesize, it is a configurable value at build time instead. The WhiteBox api metaspaceReserveAlignment() should reflect the change. 
> 
> Tests:tier1,tier2,tier3,tier4

Yumin Qi has updated the pull request incrementally with one additional commit since the last revision:

  SharedRegionAlignmentTest: removed timeout on test, removed is_alignment_logged

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/3309/files
  - new: https://git.openjdk.java.net/jdk/pull/3309/files/f99b1c90..155b3b7d

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

  Stats: 10 lines in 1 file changed: 1 ins; 3 del; 6 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3309.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3309/head:pull/3309

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


More information about the hotspot-dev mailing list