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

NMT: NMT needs to deal overlapped virtual memory ranges

XMLWordPrintable

    • b01
    • b07
    • generic
    • generic
    • Not verified

        After NPG changes, NMT sees different memory usage patterns, which it cannot deal with correctly. For example, it reserves a bigger range, then it re-reserve a smaller range within the bigger range. NMT does not expect and cannot deal with overlapped reserved range.

        There is an example:

        [fffffd7ffb800000 - fffffd7ffbe00000] [9] seq = 337 <== reserve a bigger range
        [fffffd7ffb800000 - fffffd7ffbe00000] [9] seq = 338 <== dup record
        [fffffd7ffb800000 - fffffd7ffb800000] [10b] seq = 339 <== mtClass
        [fffffd7ffb800000 - fffffd7ffba00000] [9] seq = 340 <== re-reserve a smaller range
        [fffffd7ffb800000 - fffffd7ffba00000] [a] seq = 341 <== commit
        [fffffd7ffb800000 - fffffd7ffba00000] [a] seq = 342 <== dup record

              zgu Zhengyu Gu
              zgu Zhengyu Gu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: