jenkinsci / jenkinsci/support-core-plugin

[JENKINS-50008] Heap Histogram (all instances by default)

Open
#791 3 comments 0 reactions 0 assignees View on GitHub
component:support-core-plugin imported-jira-issue priority:major resolution:unresolved
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)


  • status: Open
  • priority: Major
  • component(s): support-core-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 3
  • imported: 20251212-090250

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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.