Re: RFR: JDK-8272158: SoftReference related bugs under memory pressure

2021-08-13 Thread Jonathan Gibbons
On Wed, 11 Aug 2021 10:36:48 GMT, Hannes Wallnöfer wrote: > This change fixes two problems related to usage of soft references in > javadoc. > > The one in `VisibleMemberTable` is rather trivial, it just avoids getting the > softly referenced value twice, which allowed GC to clear the referen

RFR: JDK-8272158: SoftReference related bugs under memory pressure

2021-08-11 Thread Hannes Wallnöfer
This change fixes two problems related to usage of soft references in javadoc. The one in `VisibleMemberTable` is rather trivial, it just avoids getting the softly referenced value twice, which allowed GC to clear the reference between the two calls. For the one in `CommentHelper`, I consider