jenkinsci / jenkinsci/support-core-plugin
[JENKINS-50008] Heap Histogram (all instances by default)
- Dominant language
- Java
- Stars
- 19
- Forks
- 77
- Avg merge
- 17h 53m
- Merged PRs (30d)
- 3
Description
As -live instances histogram requires a fullgc, the histogram will produce all by default (which doesn't require a fullgc).
You could easily configure it by using the system property -Dcom.cloudbees.jenkins.support.impl. HeapUsageHistogram.FULLGC=true (permanent) or by running from Script Console com.cloudbees.jenkins.support.impl. HeapUsageHistogram.FULLGC=true (temporal) if you want to grab live instances.
The histogram component could be easily disabled by using the system property -Dcom.cloudbees.jenkins.support.impl. HeapUsageHistogram.DISABLE=true (permanent) or by running from Script Console com.cloudbees.jenkins.support.impl. HeapUsageHistogram.DISABLE=true (temporal).
---
Originally reported by
escoem, imported from: Heap Histogram (all instances by default)
Raw content of original issue
As -live instances histogram requires a fullgc, the histogram will produce all by default (which doesn't require a fullgc).
You could easily configure it by using the system property -Dcom.cloudbees.jenkins.support.impl. HeapUsageHistogram.FULLGC=true (permanent) or by running from Script Console com.cloudbees.jenkins.support.impl. HeapUsageHistogram.FULLGC=true (temporal) if you want to grab live instances.
The histogram component could be easily disabled by using the system property -Dcom.cloudbees.jenkins.support.impl. HeapUsageHistogram.DISABLE=true (permanent) or by running from Script Console com.cloudbees.jenkins.support.impl. HeapUsageHistogram.DISABLE=true (temporal).
Contributor guide
Research direction
Start by locating the HeapUsageHistogram component referenced by the system properties and inspect how it selects all versus live instances. Confirm the default produces all instances without a full GC, FULLGC enables live instances, and DISABLE still suppresses the component; add or update coverage if the component has existing tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100