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

Update PerfDisableSharedMem with FLAG_SET_ERGO in PerfMemory::create_memory_region

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 11, 18
    • 18
    • hotspot
    • b11
    • generic
    • generic

    Description

      In our production environment, jps can not report running java process in rare cases. We can not tell if create_shared_memory failed at startup or /tmp/hsperfdata_user/pid is accidentally deleted.

      PerfDisableSharedMem is set true directly in PerfMemory::create_memory_region, it's better updated with FLAG_SET_ERGO, so jcmd can check vm.flags and tells if create_shared_memory failed at startup time.

      Attachments

        Issue Links

          Activity

            People

              hshi Hui Shi
              hshi Hui Shi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: