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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • tbd
    • 16
    • hotspot
    • None
    • windows

      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.

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

              Created:
              Updated:
              Resolved: