Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1325)

Issue 669043: SHINDIG-1283 FeatureRegistry.featureMap concurrent access

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 1 month ago by Paul Lindner
Modified:
14 years, 1 month ago
Reviewers:
henry.saputra, zhoresh, shindig.remailer
Visibility:
Public.

Patch Set 1 #

Total comments: 2

Patch Set 2 : Move all mutable calls into the constructor, use more immutable #

Total comments: 2

Messages

Total messages: 12
Paul Lindner
A different way of dealing with https://issues.apache.org/jira/browse/SHINDIG-1283
14 years, 1 month ago (2010-03-23 13:18:39 UTC) #1
zhoresh
On 2010/03/23 13:18:39, Paul Lindner wrote: > A different way of dealing with > https://issues.apache.org/jira/browse/SHINDIG-1283 ...
14 years, 1 month ago (2010-03-23 15:14:53 UTC) #2
Paul Lindner
The map is constructed at startup and then never modified, so this is a decent ...
14 years, 1 month ago (2010-03-23 16:02:13 UTC) #3
henry.saputra
http://codereview.appspot.com/669043/diff/1/2 File java/gadgets/src/main/java/org/apache/shindig/gadgets/features/FeatureRegistry.java (right): http://codereview.appspot.com/669043/diff/1/2#newcode73 java/gadgets/src/main/java/org/apache/shindig/gadgets/features/FeatureRegistry.java:73: private ImmutableMap<String, FeatureNode> featureMap; I think this needs to ...
14 years, 1 month ago (2010-03-23 18:58:09 UTC) #4
zhoresh
On 2010/03/23 16:02:13, Paul Lindner wrote: > The map is constructed at startup and then ...
14 years, 1 month ago (2010-03-23 20:35:15 UTC) #5
henry.saputra
Actually I thought that the approach that Paul has suggested is to allow the read ...
14 years, 1 month ago (2010-03-23 23:47:01 UTC) #6
Paul Lindner
My goal was to eliminate a bunch of arraylist creations on read-only methods by using ...
14 years, 1 month ago (2010-03-24 00:09:32 UTC) #7
Paul Lindner
patch updated by moving initialization into the constructor and some small cleanups.
14 years, 1 month ago (2010-03-24 18:07:29 UTC) #8
henry.saputra
LGTM Thanks.
14 years, 1 month ago (2010-03-24 20:00:43 UTC) #9
zhoresh
http://codereview.appspot.com/669043/diff/9001/10002 File java/gadgets/src/main/java/org/apache/shindig/gadgets/features/FeatureRegistry.java (left): http://codereview.appspot.com/669043/diff/9001/10002#oldcode153 java/gadgets/src/main/java/org/apache/shindig/gadgets/features/FeatureRegistry.java:153: connectDependencyGraph(); Where is this check gone to?
14 years, 1 month ago (2010-03-24 20:52:21 UTC) #10
Paul Lindner
http://codereview.appspot.com/669043/diff/9001/10002 File java/gadgets/src/main/java/org/apache/shindig/gadgets/features/FeatureRegistry.java (left): http://codereview.appspot.com/669043/diff/9001/10002#oldcode153 java/gadgets/src/main/java/org/apache/shindig/gadgets/features/FeatureRegistry.java:153: connectDependencyGraph(); On 2010/03/24 20:52:22, zhoresh wrote: > Where is ...
14 years, 1 month ago (2010-03-24 21:00:08 UTC) #11
zhoresh
14 years, 1 month ago (2010-03-24 21:31:13 UTC) #12
LGTM

I am not so crazy about constructors that throw exceptions, but I guess it
follows the mantra of fail fast.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b