NMT: Separate thread stack tracking from virtual memory tracking

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 13
    • Affects Version/s: 11
    • Component/s: hotspot
    • b14

      From the very beginning, NMT treats thread stack as virtual memory allocation and tracks them in the same way as virtual memory.

      However, it is not the case, pthread library does not dictate how stack is allocated (see the discussion [1] for details)

      It should not be hard to pull thread stacks into another tracking list. Matter of fact, it might simplify a few things, as we started doing something special the thread stacks, e.g. figuring out actual stack range in used and where are guard pages.

      [1] http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/2018-June/028407.html

            Assignee:
            Zhengyu Gu
            Reporter:
            Zhengyu Gu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: