RFR: 8281314: Rename Stack{Red,Yellow,Reserved,Shadow}Pages multipliers [v2]
Aleksey Shipilev
shade at openjdk.java.net
Mon Feb 7 15:55:47 UTC 2022
> This was a question during [JDK-8072070](https://bugs.openjdk.java.net/browse/JDK-8072070) review. The code in `StackOverflow::initialize_stack_zone_sizes()` multiplies `Stack{Red,Yellow,Reserved,Shadow}Pages` by "alignment", while that is actually just a "unit".
>
>
> product_pd(intx, StackYellowPages, \
> "Number of yellow zone (recoverable overflows) pages of size " \
> "4KB. If pages are bigger yellow zone is aligned up.") \
> range(MIN_STACK_YELLOW_PAGES, (DEFAULT_STACK_YELLOW_PAGES+5)) \
>
>
> We can rename it for clarity.
Aleksey Shipilev has updated the pull request incrementally with one additional commit since the last revision:
Add comment blurb
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/7362/files
- new: https://git.openjdk.java.net/jdk/pull/7362/files/6e770ab2..608ca21a
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=7362&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=7362&range=00-01
Stats: 4 lines in 1 file changed: 1 ins; 0 del; 3 mod
Patch: https://git.openjdk.java.net/jdk/pull/7362.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/7362/head:pull/7362
PR: https://git.openjdk.java.net/jdk/pull/7362
More information about the hotspot-runtime-dev
mailing list