Hey Sanne,

I implemented first versions of LIRS as Manik challenged me to implement it :-) This was back in early 2010. Then Will took over, simplified it and fixed some subtle bugs. Finally, Ban Manes took the whole thing over to Caffeine. 

Cheers,
Vladimir


On Thu, Jul 11, 2019 at 1:09 PM Sanne Grinovero <sanne@infinispan.org> wrote:
Thanks Pedro and Tristan!

I've been digging a bit more; found a comment in the sources pointing
also to [1], which nowadays is also known as "Caffeine" ... :)

But indeed seems most credit goes to Infinispan; too bad it's no
longer maintained.

Thanks,
Sanne

1 - http://code.google.com/p/concurrentlinkedhashmap/source/browse/trunk/src/test/java/com/googlecode/concurrentlinkedhashmap/caches/LirsMap.java


On Wed, 10 Jul 2019 at 20:16, Tristan Tarrant <ttarrant@redhat.com> wrote:
>
> The bounding part was never part of Doug's code, but was written by us
>
> On Wed, 10 Jul 2019, 20:25 Sanne Grinovero, <sanne@infinispan.org> wrote:
>>
>> Hi all,
>>
>> does anyone remember where BoundedConcurrentHashMap was copied from?
>>
>> we have a copy in Hibernate ORM; the comments state:
>>  - copied from Infinispan
>>  - original author Doug Lea
>>
>> but I don't see any similar implementation in JSR166, nor any
>> reference to this classname on their archives:
>>  - http://jsr166-concurrency.10961.n7.nabble.com/template/NamlServlet.jtp?macro=search_page&node=2&query=BoundedConcurrentHashMap
>>
>> The comments looks like suspiciously like this was originally a copy
>> of ConcurrentHashMap... I'm wondering which fixes we're missing out,
>> and if I should plan to get rid of this liability since Infinispan
>> also seems to have removed it.
>>
>> Thanks,
>> Sanne
>> _______________________________________________
>> infinispan-dev mailing list
>> infinispan-dev@lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
_______________________________________________
infinispan-dev mailing list
infinispan-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev