harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hindess (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-6344) Provide a lock-free version of ReferenceQueue
Date Tue, 29 Sep 2009 13:18:16 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-6344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12760601#action_12760601

Mark Hindess commented on HARMONY-6344:

Thanks James.

Is this your own work?  I notice the author tags list OTI and Xiao Jun Dai.  I suspect that
this means that this should be handled as a bulk contribution.  See:


I also notice that it references a class sun.misc.Cleaner but Harmony has no such class. 
Are you also planning to contribute an implementation of this class or do you intend to provide
a patch to use org.apache.harmony equivalent classes?

Do you have a reference to any terms of use documentation for the paper referenced in the
SinglePollQueue implementation?  (One of the authors of the paper is/was a Sun employee so
I'd like to confirm that it is reasonable to use this document to further Harmony's goals.)

The javadoc for two of the classes says:

  Sample performance results here.

but "here" is not a link.  Are the performance results available?

Please don't include generated .class files in contributions.  Personally, I'd prefer to see
either build scripts or a contribution that can be trivially integrated with the existing
class library code.

> 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

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message