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

[windows] os::print_memory_mappings() should avoid probing out-of-range address areas

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 16
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • OS:
      windows

      Description

      os::print_memory_mappings() - introduced with JDK-8255978 - is a handy function to list memory mappings in a given address range. In theory it can be used to print all mappings of a process.

      But it should avoid probing unnecessarily into areas which are not used, since that takes time and is pointless. On 64bit Windows, address ranges beyond 0x7ffffffffff are not mapped. If VirtualQuery does not return anything there, we should stop probing.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                stuefe Thomas Stuefe
                Reporter:
                stuefe Thomas Stuefe
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: