river-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Firmstone (JIRA)" <j...@apache.org>
Subject [jira] Updated: (RIVER-323) DynamicPolicyProvider - Concurrency
Date Tue, 03 Nov 2009 05:22:59 GMT

     [ https://issues.apache.org/jira/browse/RIVER-323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Peter Firmstone updated RIVER-323:
----------------------------------

    Attachment: ConcurrentPermissions_DynamicPolicyProvider.patch

Note that adding concurrency has brought some lazy initialization bugs to the surface in existing
Permission implementations.  These might need some review.

Try it, most tests are running.

Note that this depends on Java 5 Language features.  Would anyone have any objections to making
AR2 a Java 5 Release?  Retrotranslator needs some additional code before it can handle Serialization
properly, so Java 1.4 support might be lagging. 

> DynamicPolicyProvider - Concurrency
> -----------------------------------
>
>                 Key: RIVER-323
>                 URL: https://issues.apache.org/jira/browse/RIVER-323
>             Project: River
>          Issue Type: Improvement
>          Components: net_jini_security
>         Environment: All
>            Reporter: Peter Firmstone
>            Priority: Minor
>         Attachments: ConcurrentPermissions_DynamicPolicyProvider.patch
>
>   Original Estimate: 40h
>  Remaining Estimate: 40h
>
> From the river-dev mail list:
> I have been looking into some seemingly slow responses in several clients running simultaneously,
and I see in some stack traces that there are synchronization points in DynamicPolicyProvider.implies()
that seem to be heavily contended.  We probably need to revisit this class and rewrite it
to use copy on write mutation so that reads (the majority of activity) are completely uncontended.
> Any thoughts or experience with this issue?
> Gregg Wonderly

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


Mime
View raw message