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

NMT: Separate thread stack tracking from virtual memory tracking

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 13
    • 11
    • hotspot
    • b14

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: