harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Regis <xu.re...@gmail.com>
Subject Re: [jira] Created: (HARMONY-6344) Provide a lock-free version of ReferenceQueue
Date Tue, 29 Sep 2009 09:13:58 GMT
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?

-- 
Best Regards,
Regis.

Mime
View raw message