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

perfstat NetworkInterface should not use resource area

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 19
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      svc

      Description

      The NetworkInterface class keeps the network interface name in RA-allocated memory. That introduces a dependency to where ResourceMarks can be placed and is not a good idea for data carrier structures that are handed up and down the stack. We ran into this when reviewing https://github.com/openjdk/jdk/pull/6885

      I propose to use C-heap instead.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated: