Related: https://issues.apache.org/jira/browse/COLLECTIONS-700
Gary On Sat, Sep 14, 2024, 10:16 AM Xeno Amess <[email protected]> wrote: > IMO I think it ok...so Gary which part do you feel unsafe in it ?I must > admit I am not that familiar to lawyer things.. > ________________________________ > From: Melloware Inc <[email protected]> > Sent: Saturday, September 14, 2024 9:18:08 PM > To: Commons Developers List <[email protected]> > Subject: Re: [beanutils] For 2.0, WeakFastHashMap vs ConcurrentHashMap > > Well in my PR the license in the file says this. > > Written by Doug Lea with assistance from members of JCP JSR-166 > Expert Group and released to the public domain, as explained at > @see <a href="http://creativecommons.org/licenses/publicdomain">Creative > Commons</a> > > it says its public domain. > > On Sat, Sep 14, 2024 at 9:01 AM Xeno Amess <[email protected]> wrote: > > > why not write an email to lea ..maybe he be so kind that would be glad to > > offer one mit-like license copy of that class > > ________________________________ > > From: Melloware Inc <[email protected]> > > Sent: Saturday, September 14, 2024 8:32:38 PM > > To: Commons Developers List <[email protected]> > > Subject: Re: [beanutils] For 2.0, WeakFastHashMap vs ConcurrentHashMap > > > > I submitted this PR years ago using ConcurrentWeakKeyHashMap from Doug > Lea > > and the Netty team but Gary had concerns from legal about being able to > use > > it. > > > > PR is here: https://github.com/apache/commons-beanutils/pull/56 > > > > On Sat, Sep 14, 2024 at 7:22 AM Xeno Amess <[email protected]> wrote: > > > > > I thought old d-lea bro have a concurrent weak hashmap implement > > > somewhere...why not just ask him > > > after all nobody here more expert than him in this area > > > ________________________________ > > > From: Niall Pemberton <[email protected]> > > > Sent: Saturday, September 14, 2024 1:46:32 PM > > > To: Commons Developers List <[email protected]> > > > Subject: Re: [beanutils] For 2.0, WeakFastHashMap vs ConcurrentHashMap > > > > > > On Thu, 12 Sep 2024 at 19:59, Gary D. Gregory <[email protected]> > > wrote: > > > > > > > Hi All, > > > > > > > > For the upcoming 2.0.0-M1, I plan on replacing the custom > > WeakFastHashMap > > > > with the stock ConcurrentHashMap. > > > > > > > > If you think this is a bad idea, please tell us why. > > > > > > > > > It’s a good idea for the “fast” part, but the “weak” aspect also needs > to > > > be retained - so in principle yes, but the implementation detail > matters. > > > > > > BeanUtils caused memory issues in multiple ClassLoader environments > (e.g. > > > WebApp containers) because of strong references to classes prevented > them > > > from being garbage collected if the app was reloaded/restarted. So this > > > weak map was introduced to resolve that issue. > > > > > > Niall > > > > > > > > > > > > > > Gary > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: [email protected] > > > > For additional commands, e-mail: [email protected] > > > > > > > > > > > > > > > > > -- > > ============================== > > Melloware > > [email protected] > > http://melloware.com > > ============================== > > > > > -- > ============================== > Melloware > [email protected] > http://melloware.com > ============================== >
