huybrechts/hudson — comment on commit e2d84d839b869c53738b62afa6009de4bdc43ee4
File: core/src/main/java/hudson/model/AbstractBuild.java line 575
By kutzi:

Okay, that makes some sense to me. But would be good to comment this reasoning, IMO. However, I've seen SoftReferences act strangely in the past - i.e. cleared only very late.
I remember reading an advice to not use Weak/SoftReferences for caching as their behaviour is so unpredictable.
That goes beyond the scope of this pull request, but maybe we should think about integrating some full-blown cache (EHCache o.s.l.t.) for these kind of use cases?