Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8281314

Rename Stack{Red,Yellow,Reserved,Shadow}Pages multipliers

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 19
    • 8, 11, 17, 18, 19
    • hotspot
    • b09

      This was a question during 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.

            shade Aleksey Shipilev
            shade Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: