river-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peter_firmst...@apache.org
Subject svn commit: r1480289 [1/7] - /river/jtsk/skunk/qa_refactor/trunk/src/net/jini/discovery/
Date Wed, 08 May 2013 14:27:56 GMT
Author: peter_firmstone
Date: Wed May  8 14:27:56 2013
New Revision: 1480289

URL: http://svn.apache.org/r1480289
Log:
Fixed construction and race conditions for the following:

LookupDiscoveryManager
LookupDiscovery
LookupLocatorDiscovery

Threads are no longer created during construction, their implementations have been moved into
a package private abstract superclass to enable all final fields to be frozen before threads
are started.
Threads are started from constructors of stateless child classes after super class constructors
return.

This modification is backward compatible, no new API has been created and existing API remains
functionally the same.  This only fixes concurrency, synchronization and safe publication
issues.

Added:
    river/jtsk/skunk/qa_refactor/trunk/src/net/jini/discovery/AbstractLookupDiscovery.java
    river/jtsk/skunk/qa_refactor/trunk/src/net/jini/discovery/AbstractLookupDiscoveryManager.java
    river/jtsk/skunk/qa_refactor/trunk/src/net/jini/discovery/AbstractLookupLocatorDiscovery.java
Modified:
    river/jtsk/skunk/qa_refactor/trunk/src/net/jini/discovery/LookupDiscovery.java
    river/jtsk/skunk/qa_refactor/trunk/src/net/jini/discovery/LookupDiscoveryManager.java
    river/jtsk/skunk/qa_refactor/trunk/src/net/jini/discovery/LookupLocatorDiscovery.java


Mime
View raw message