Commit Graph
737 Commits
Author SHA1 Message Date
Rob Austin ca008ad3db Merge remote-tracking branch 'origin/2.1' into 2.1 2015-06-11 16:11:02 +01:00
Rob Austin 261d315688 CE-57 adding support for engine to engine replication 2015-06-11 16:10:23 +01:00
Peter Lawrey 7e1886d82c Code tidy for Core 2015-06-11 16:02:07 +01:00
Peter Lawrey e6582b0a39 HCOLL-366 Changed this method from recursive to use iteration. No longer shows up as a problem. Also reduce the maximum depth from 16K to 1K. 2015-06-11 14:46:41 +01:00
Peter Lawrey 84e8191035 Ensure the SerializationBuilder passes through the expected class. 2015-06-11 06:39:51 +01:00
Rob Austin 35178c9694 HCOLL-329 removed assert 2015-05-29 19:16:47 +01:00
Rob Austin 0f003b1370 HCOLL-329 fixing the bootstrapping timestamp issue 2015-05-29 19:14:14 +01:00
Rob Austin 80c80ff672 HCOLL-329 fixing the bootstrapping timestamp issue 2015-05-29 19:09:54 +01:00
Rob Austin 48362f031a added a Null check for - modificationNotifier != null 2015-05-28 19:15:47 +01:00
Rob Austin 2943d2ec6a added in a fix for net.openhft.chronicle.map.ReplicateProxyMapUpdatedViaSharedMemoryTest.testReplicateProxyMapUpdatedViaSharedMemory 2015-05-28 15:34:27 +01:00
Rob Austin 25e06bc318 CE-41 fixed binary wire test cases. 2015-05-26 18:27:13 +01:00
Rob Austin 8dab0ba7c0 removed 2015-05-22 17:32:15 +01:00
Rob Austin ea6cf24bf7 added close() 2015-05-22 17:27:20 +01:00
Rob Austin 6a0ed45383 added close 2015-05-22 17:27:08 +01:00
Rob Austin 5b2cb939a4 fixed an issue, around sending exceptions back to the stateless client from the server 2015-05-14 10:57:05 +01:00
Rob Austin 8780e9e697 formatting 2015-05-13 11:54:09 +01:00
Rob Austin 6fbe5112fa HCOLL-331 added the first part of this code, Ozan will complete and issue a pull request 2015-05-13 11:38:02 +01:00
Rob Austin dea1abd833 HCOLL-329 Fix Chronicle Map Cluster replication. 2015-05-07 19:26:11 +01:00
Rob Austin d7f5411294 HCOLL-328 fixed : Possible issue with ChronicleSet on restart 2015-05-07 18:34:18 +01:00
Rob Austin 40e7b1d53c HCOLL-325 Issue when bootstrapping with a large number of entries, and removed a few @Ignores on tests that should work. 2015-04-27 13:06:17 +01:00
Rob Austin 0ead776c9d testing off heap interfaces with String[] 2015-04-27 10:26:51 +01:00
Peter Lawrey 1e6ab61223 Update lang to 6.6.0 2015-02-26 17:00:20 +00:00
Rob Austin 5b2950e420 HCOLL-309 added a return and now outputting the remote connection. 2015-02-23 09:58:28 +00:00
Rob Austin 7c09d1dfaf HCOLL-309 added code to better reject third party connections which turn out not to be chronicle. 2015-02-16 11:06:35 +00:00
Rob Austin 286e509e3c HCOLL-302 removed the user of CheckedStore 2015-02-05 18:54:00 +00:00
leventov c6843bd6c1 Reduced max reasonable serialized size 2015-02-06 00:34:22 +07:00
leventov 00e306a538 Imporoved SerializationBuilder own serialization 2015-02-05 07:15:25 +07:00
Rob Austin fae92cb3e9 HCOLL-302 fixed bug around heapSizeOrderedFieldsGrouped 2015-02-04 11:16:56 +00:00
Rob Austin 915c81f0e7 propogating interupted exception, so that resources can be closed when it is received. 2015-02-02 22:46:47 +00:00
Rob Austin 5f627dc6b4 ensure that we close() on interupt 2015-02-02 22:05:32 +00:00
Rob Austin cca2cd77e0 removed unnessasary persistant file 2015-02-02 16:53:18 +00:00
Rob Austin 9001e68bc0 fixed latency issues with CheckedBytesStore 2015-02-02 14:58:03 +00:00
Rob Austin de4c17e07e Please dont change this code back with out first running IN IDEA - at net.openhft.chronicle.map.ReplicatedChronicleMapTest.testPut1_NullPointerException(ReplicatedChronicleMapTest.java:489), see
java.lang.IllegalArgumentException: Argument for @NotNull parameter 'key' of net/openhft/chronicle/map/ReplicatedChronicleMap.put1 must not be null
	at net.openhft.chronicle.map.ReplicatedChronicleMap.put1(ReplicatedChronicleMap.java)
	at net.openhft.chronicle.map.VanillaChronicleMap.put(VanillaChronicleMap.java:532)
	at net.openhft.chronicle.map.ReplicatedChronicleMapTest.testPut1_NullPointerException(ReplicatedChronicleMapTest.java:489)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
	at org.junit.runners.Suite.runChild(Suite.java:127)
	at org.junit.runners.Suite.runChild(Suite.java:26)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:67)
2015-02-02 11:40:38 +00:00
Rob Austin 7bf391c560 Please dont change this code back with out first running - at net.openhft.chronicle.map.ReplicatedChronicleMapTest.testPut1_NullPointerException(ReplicatedChronicleMapTest.java:489), see
java.lang.IllegalArgumentException: Argument for @NotNull parameter 'key' of net/openhft/chronicle/map/ReplicatedChronicleMap.put1 must not be null
	at net.openhft.chronicle.map.ReplicatedChronicleMap.put1(ReplicatedChronicleMap.java)
	at net.openhft.chronicle.map.VanillaChronicleMap.put(VanillaChronicleMap.java:532)
	at net.openhft.chronicle.map.ReplicatedChronicleMapTest.testPut1_NullPointerException(ReplicatedChronicleMapTest.java:489)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
	at org.junit.runners.Suite.runChild(Suite.java:127)
	at org.junit.runners.Suite.runChild(Suite.java:26)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:67)
2015-02-02 11:27:12 +00:00
Rob Austin 92399ceff7 updated @Ignore's 2015-02-02 11:21:02 +00:00
Rob Austin fd0659ba21 please don't change this back without first running all the test in intellij ! - see java.lang.IllegalArgumentException: Argument for @NotNull parameter 'key' of net/openhft/chronicle/map/ReplicatedChronicleMap.put1 must not be null
at net.openhft.chronicle.map.ReplicatedChronicleMap.put1(ReplicatedChronicleMap.java)
	at net.openhft.chronicle.map.VanillaChronicleMap.putIfAbsent(VanillaChronicleMap.java:537)
	at net.openhft.chronicle.map.ReplicatedChronicleMapTest.testPutIfAbsent1_NullPointerException(ReplicatedChronicleMapTest.java:515)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
	at org.junit.runners.Suite.runChild(Suite.java:127)
	at org.junit.runners.Suite.runChild(Suite.java:26)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:67)
2015-02-02 11:15:20 +00:00
Rob Austin b3b57d6125 removed the use of CheckedBytesStore 2015-02-02 10:18:26 +00:00
Rob Austin 2393860a76 ignore java.util.concurrent.RejectedExecutionException when already closed 2015-02-02 10:17:29 +00:00
Rob Austin 902cd25464 ignore java.util.concurrent.RejectedExecutionException when already closed 2015-02-02 10:01:13 +00:00
Rob Austin 4726515284 ignore java.util.concurrent.RejectedExecutionException when already closed 2015-02-02 09:52:37 +00:00
Rob Austin a077694ce8 introduced connectExecutorService to ensure that its closed on shutdown 2015-02-02 09:43:33 +00:00
Rob Austin 418c1bd5ad now not closing on a - AsynchronousCloseException e 2015-02-02 09:28:52 +00:00
Rob Austin 1fbdb74238 removed throws InterruptedException 2015-02-02 09:13:42 +00:00
Rob Austin 4eda29d77e moved shutdownNow only to the main thread 2015-02-02 09:11:17 +00:00
Rob Austin 4251488b76 Merge remote-tracking branch 'origin/2.1' into 2.1 2015-02-02 08:29:32 +00:00
Rob Austin a6938caad4 fixed NPE - java.lang.NullPointerException
at net.openhft.chronicle.map.StatelessChronicleMap.receiveBytesFromSocket(StatelessChronicleMap.java:1322)
                at net.openhft.chronicle.map.StatelessChronicleMap.nextEntry(StatelessChronicleMap.java:1216)
                at net.openhft.chronicle.map.StatelessChronicleMap.blockingFetchThrowable(StatelessChronicleMap.java:1162)
                at net.openhft.chronicle.map.StatelessChronicleMap.blockingFetchReadOnly(StatelessChronicleMap.java:1135)
                at net.openhft.chronicle.map.StatelessChronicleMap.readValue(StatelessChronicleMap.java:1484)
                at net.openhft.chronicle.map.StatelessChronicleMap.fetchObject(StatelessChronicleMap.java:1782)
                at net.openhft.chronicle.map.StatelessChronicleMap.put(StatelessChronicleMap.java:596)
                at net.openhft.chronicle.map.StatelessClientTest$3.run(StatelessClientTest.java:659)
                at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
                at java.util.concurrent.FutureTask.run(FutureTask.java:262)
                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
                at java.lang.Thread.run(Thread.java:745)
2015-02-02 08:28:57 +00:00
Rob Austin 4f9892636c corrected message - LOG.info("Thread took " + lockTime / 1000000 + "ms to release the lock, (Was there a GC?)"); 2015-02-01 22:56:17 +00:00
Rob Austin bec5b2a3c5 introduced NativeBytesI to allow us to checks if the buffer has been closed, if the buffer is accessed after it is closed an exception is thrown, This class should be used to investigate JVM crashes, it should not be used in production code ( as its slow ) 2015-02-01 22:19:41 +00:00
leventov 938b9dca7b Fixed usages of Bytes.write(Bytes) to conform old semantics 2015-02-01 19:49:58 +07:00
leventov e38f6df14c Merge commit '0733366' into 2.1
Conflicts:
	src/test/java/net/openhft/chronicle/map/MarkTest.java
2015-01-31 23:25:01 +07:00