Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-52178

Investigate impact of self-attach flag requirement on plugins

      According to the information from evernat in JENKINS-52092, Monitoring Plugin 1.73.0 requires "-Djdk.attach.allowAttachSelf=true" to be set on master and agent side in order to have the memory histogram in JDK 9. (Edit: with an enhancement in the monitoring plugin 1.73.1, it does not attach itself to the VM in order to get heap histogram in JDK 9. So this plugin does not require to add "-Djdk.attach.allowAttachSelf=true".)

      We still have some plugins attaching to JDK (e.g. File Leak detector plugin), so maybe we need a generic solution for Jenkins packaging (or some documentation about "-Djdk.attach.allowAttachSelf=true").

          [JENKINS-52178] Investigate impact of self-attach flag requirement on plugins

          Oleg Nenashev created issue -
          Oleg Nenashev made changes -
          Epic Link New: JENKINS-40689 [ 177392 ]
          Oleg Nenashev made changes -
          Link New: This issue relates to JENKINS-52092 [ JENKINS-52092 ]
          Oleg Nenashev made changes -
          Summary Original: Investigate self-attach impact on Jenkins plugins New: Investigate impact of self-attach flag requirement (Java 9+) on Jenkins plugins
          evernat made changes -
          Description Original: According to the information from [~evernat] in JENKINS-52092, Monitoring Plugin requires "-Djdk.attach.allowAttachSelf=true" to be set on master and agent side in order to have the memory histogram in JDK 9.

          We have other plugins attaching to JDK (e.g. File Leak detector plugin), so maybe we need a generic solution for Jenkins packaging (or some documentation).

          New: According to the information from [~evernat] in JENKINS-52092, Monitoring Plugin 1.73.0 requires "-Djdk.attach.allowAttachSelf=true" to be set on master and agent side in order to have the memory histogram in JDK 9. (Edit: with an enhancement in the monitoring plugin 1.73.1, it does not attach itself to the VM in order to get heap histogram in JDK 9. So this plugin does not require to add "-Djdk.attach.allowAttachSelf=true".)

          We still have some plugins attaching to JDK (e.g. File Leak detector plugin), so maybe we need a generic solution for Jenkins packaging (or some documentation about "-Djdk.attach.allowAttachSelf=true").
          evernat made changes -
          Assignee Original: evernat [ evernat ] New: Oleg Nenashev [ oleg_nenashev ]
          Oleg Nenashev made changes -
          Labels Original: java10 New: java10 java11
          Oleg Nenashev made changes -
          Assignee Original: Oleg Nenashev [ oleg_nenashev ]
          Baptiste Mathus made changes -
          Labels Original: java10 java11 New: java10 java11 triaged
          evernat made changes -
          Component/s New: file-leak-detector-plugin [ 17595 ]
          Component/s Original: monitoring-plugin [ 15958 ]
          Basil Crow made changes -
          Epic Link Original: JENKINS-40689 [ 177392 ] New: JENKINS-67688 [ 214193 ]

            Unassigned Unassigned
            oleg_nenashev Oleg Nenashev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: