Remove the need of os::large_page_size()

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P3
    • tbd
    • Affects Version/s: 19
    • Component/s: hotspot
    • gc

      After introducing support for multiple large page sizes in JDK-8256155 the function os::large_page_size() is a bit ambiguous. Or not really, because it will return the largest large page size available for use. Even so it might make sense to look at not relying on os::large_page_size() and instead always the _page_sizes "bitmap" containing all configured page sizes and helper functions like page_size_for_region*() to figure out which page size to use.

      Currently this would probably be quite hard since a lot of the heap setup is using os::large_page_size(), but when JDK-8267475 gets addressed we could look at doing something like this.

            Assignee:
            Unassigned
            Reporter:
            Stefan Johansson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: