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

NMT: Separate thread stack tracking from virtual memory tracking

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 13
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      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

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

                Dates

                Created:
                Updated:
                Resolved: