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

os::get_page_info and os::scan_pages are empty on all platforms

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 16
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc

      Description

      We have os::scan_pages and os::get_page_info 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.

      These functions are only used by gc/parallel/mutableNUMASpace.* , and removing them may also shake loose code in there.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              stuefe Thomas Stuefe
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: