Re: Reducing Classloader's parallelLockMap memory consumption proposal

2025-05-22 Thread Dmytro Ukhlov
Hello Alan, Thank you for the useful information. Jenkins's class loader topology is hierarchical. I believe Jenkins can make its internal class loader implementations non-parallel capable. However, the problem persists because Jenkins pipelines are built on top of Groovy scripts. Running a pipeli

Re: Reducing Classloader's parallelLockMap memory consumption proposal

2025-05-21 Thread Alan Bateman
On 20/05/2025 03:42, Dmytro Ukhlov wrote: Hello! I created PR is scope of jenkins-core project: https://github.com/jenkinsci/jenkins/pull/10659 Jira ticket: https://issues.jenkins.io/browse/JENKINS-75675 In this PR i propped to override protected Object getClassLoadingLock(String className) met

Reducing Classloader's parallelLockMap memory consumption proposal

2025-05-19 Thread Dmytro Ukhlov
Hello! I created PR is scope of jenkins-core project: https://github.com/jenkinsci/jenkins/pull/10659 Jira ticket: https://issues.jenkins.io/browse/JENKINS-75675 In this PR i propped to override protected Object getClassLoadingLock(String className) method and use weak references for lock objects