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

os::scan_pages is empty on all platforms

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 22
    • 16
    • hotspot
    • None
    • gc
    • b26

    Description

      We have os::scan_pages to query page composition of arbitrary ranges.

      This was only ever implemented on Solaris. Would be really nice to have, but it is not simple to get those information on other platforms (e.g. on Linux it would require parsing /proc/pid/smaps).

      The interface is also not optimimal, eg. os::scan_pages expects the range to have just one page size while in reality it can have multiple.

      I suggest just removing this coding.

      This function is only used by gc/parallel/mutableNUMASpace.* , and removing it may also shake loose code in there.

      Note: This issue previously listed os::get_page_info as a candidate for removal as well but it has already been removed.

      Attachments

        Issue Links

          Activity

            People

              szaldana Sonia Zaldana Calles
              stuefe Thomas Stuefe
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: