harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Ellison <t.p.elli...@gmail.com>
Subject Re: [jira] Created: (HARMONY-6344) Provide a lock-free version of ReferenceQueue
Date Tue, 29 Sep 2009 13:37:18 GMT
On 29/Sep/2009 10:13, Regis wrote:
> James Gan (JIRA) wrote:
>> Provide a lock-free version of ReferenceQueue
>> ---------------------------------------------
>>
>>                  Key: HARMONY-6344
>>                  URL: https://issues.apache.org/jira/browse/HARMONY-6344
>>              Project: Harmony
>>           Issue Type: Improvement
>>           Components: Classlib
>>     Affects Versions: 6.0M1
>>          Environment: Any modern multi-core environment
>>             Reporter: James Gan
>>              Fix For: 6.0M1
>>          Attachments: amino_rfq.zip
>>
>> In Harmony, the original ReferenceQueue is a lock-base queue, which
>> doesn't scale well on multi-core environment. Here I attached an
>> lock-free version of ReferenceQueue based on Amino Library, which has
>> better scalability than original queue
>>
> 
> Cool James!!!
> 
> Just quick glance, some questions:
> 
> 1. Does ReferenceQueueLF mean to replace java.lang.ref.ReferenceQueue?
> 2. I notice that the new implementation reference files from Amino,
> org.amino.ds.lockfree.LockFreeQueue and
> org.amino.ds.lockfree.SinglePollQueue, do you mean contribute them to
> Harmony together?

I agree that it would be cool to get the lock free queue into Harmony;
however, there are a few questions regarding this contribution that Mark
has detailed directly in the JIRA.

Regards,
Tim

Mime
View raw message