Re: Reducing Classloader's parallelLockMap memory consumption proposal

2025-05-22 Thread Dmytro Ukhlov
from the parent class loader chain, and avoid calling parent.loadClass() if unnecessary - so as not to accumulate entries in parallelLockMap. If anyone has experience solving such issues, I would greatly appreciate it if you could share your insights. > > On 20/05/2025 03:42, Dmytro U

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