This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.ArrayList; | |
import java.util.Date; | |
import java.util.List; | |
import java.util.concurrent.TimeUnit; | |
import java.util.concurrent.locks.ReentrantLock; | |
/** | |
* javac TestLockTimeoutViaUnfairScheduling.java; java -cp . TestLockTimeoutViaUnfairScheduling | |
*/ | |
public class TestLockTimeoutViaUnfairScheduling { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.*; | |
import java.util.concurrent.locks.*; | |
/* | |
javac ForgottenLockTest.java | |
java -cp . ForgottenLockTest | |
^\ | |
*/ | |
public class ForgottenLockTest { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- subversion/libsvn_subr/path.c.orig 2011-01-17 13:45:39.000000000 -0800 | |
+++ subversion/libsvn_subr/path.c 2012-07-03 16:19:11.000000000 -0700 | |
@@ -40,6 +40,9 @@ | |
#include "dirent_uri.h" | |
+#if defined(DARWIN) | |
+#include <CoreFoundation/CoreFoundation.h> | |
+#endif /* DARWIN */ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- Makefile.in.orig 2011-07-16 04:50:53.000000000 -0700 | |
+++ Makefile.in 2012-06-27 21:21:27.000000000 -0700 | |
@@ -736,7 +736,7 @@ | |
./config.status subversion/bindings/swig/perl/native/Makefile.PL | |
$(SWIG_PL_DIR)/native/Makefile: $(SWIG_PL_DIR)/native/Makefile.PL | |
- cd $(SWIG_PL_DIR)/native; $(PERL) Makefile.PL | |
+ cd $(SWIG_PL_DIR)/native; $(PERL) Makefile.PL PREFIX=$(prefix) INSTALLARCHLIB=$(swig_pldir) | |
# There is a "readlink -f" command on some systems for the same purpose, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Found one Java-level deadlock: | |
============================= | |
"New I/O server worker #1-48": | |
waiting to lock monitor 0x0000000059f639b0 (object 0x000000072bba4d90, a net.lag.kestrel.QueueCollection), | |
which is held by "Hashed wheel timer #1" | |
"Hashed wheel timer #1": | |
waiting to lock monitor 0x000000005a9c4378 (object 0x000000072bb8c7a0, a net.lag.kestrel.PersistentQueue), | |
which is held by "New I/O server worker #1-41" | |
"New I/O server worker #1-41": | |
waiting to lock monitor 0x0000000059f639b0 (object 0x000000072bba4d90, a net.lag.kestrel.QueueCollection), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import voldemort.client.ClientConfig; | |
import voldemort.client.SocketStoreClientFactory; | |
import voldemort.client.StoreClient; | |
import voldemort.client.StoreClientFactory; | |
import voldemort.client.UpdateAction; | |
import voldemort.versioning.Versioned; | |
import java.util.ArrayList; | |
import java.util.List; | |
import java.util.concurrent.atomic.AtomicInteger; |