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

Remove the need of os::large_page_size()

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P3 P3
    • tbd
    • 19
    • 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.

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

              Created:
              Updated: