Commit Graph
179 Commits
Author SHA1 Message Date
Rob Austin 286e509e3c HCOLL-302 removed the user of CheckedStore 2015-02-05 18:54:00 +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 9001e68bc0 fixed latency issues with CheckedBytesStore 2015-02-02 14:58:03 +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 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 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
Rob Austin 89cea2282e locks should throw InterruptedException or return when the current thread is interrupted 2015-01-31 10:44:08 +00:00
leventov 07333660d0 HCOLL-286 HCOLL-292 added replicationEvent flag to event callbacks 2015-01-28 11:44:20 +07:00
Rob Austin fb4982facd changed message to - LOG.info("Thread took %,d ms to release lock%n", lockTime / 1000000 + " (Was there a GC?)"); 2015-01-24 19:10:03 +00:00
leventov 5558f4eec6 Fixed several bugs in contexts API implementation and in VanillaChronicleMap.putValue() 2015-01-03 03:18:57 +07:00
leventov db594bfb64 HCOLL-277 HCOLL-278 HCOLL-289 Fixed two bugs in VanillaChronicleMap.putValue() 2015-01-03 01:56:49 +07:00
leventov 96a0b57c66 HCOLL-285 Refactor Stateless client builders, MapInstanceConfig =>
Builder, removed addJsonConverter method from ChronicleMapBuilder
2015-01-02 00:36:30 +07:00
leventov 52b8ad86d5 HCOLL-283 HCOLL-276 Fixed a bug in with underinitialized key/value serialization builders when the server map is deserialized from file 2014-12-31 02:01:25 +07:00
leventov e4a171ff23 HCOLL-244 fixed potential problems with chunks over-allocatation in Vanilla/Replicated ChronicleMaps 2014-12-30 11:18:28 +07:00
leventov 56ff64eaf1 HCOLL-244 add optional corruption check for segments 2014-12-30 08:14:28 +07:00
leventov a734e4ef44 Removed unused lock field from VanillaChronicleMap.Segment 2014-12-30 08:10:43 +07:00
leventov 4314db6c8a HCOLL-244 Fixed entrySize computation in ReplicatedChronicleMap 2014-12-30 05:05:50 +07:00
leventov 20cde48b55 HCOLL-244 fixed a bug in VanillaChornicleMap 2014-12-30 01:05:38 +07:00
Rob Austin 1443cb1f7c HCOLL-276 Server to send V/K serialisers to the stateless client - also now auto resizing buffer 2014-12-28 18:04:42 +00:00
Rob Austin 6c9e68f646 HCOLL-280 Allow users to define their own xStream serialisers 2014-12-27 21:30:02 +00:00
leventov 9f48e56ed0 Fixed alignment treatment in ChronicleMapBuilder/VanillaChronicleMap 2014-12-26 21:03:35 +07:00
leventov bb61e5b424 Fixed a bug in Vanilla/ReplicatedChronicleMap.acquireWithoutLock() 2014-12-26 21:03:34 +07:00
leventov 81f6142af7 Clearly separated notion of entries and chunks, averageKeySize()/ValueSize() instead of keySize()/valueSize(), minor fixes and refactorings 2014-12-26 05:22:54 +07:00
Rob Austin a77e0c0146 totally externalized the Json serialization into external static methods so that they done get picked up if the XStream jar is not loaded 2014-12-24 00:00:29 +00:00
Rob Austin 271a1f8f03 HCOLL-271 added test JSON<->Map fails for data generated inner classes 2014-12-23 13:57:10 +00:00
Rob Austin 9dfecce021 HCOLL-184 added a remote version check 2014-12-23 12:59:15 +00:00
Rob Austin e257fca466 HCOLL-184 stateless client now returns the server and client versions 2014-12-23 12:07:51 +00:00
Rob Austin 026745d63b HCOLL-268 refactored out the DataValueConverter 2014-12-23 09:29:25 +00:00
Rob Austin 49e5713cae HCOLL-259 added a JSON byte buffer converter 2014-12-22 23:00:49 +00:00
Rob Austin c033f6ecb1 HCOLL-268 refactored the JSON convertor 2014-12-22 19:50:15 +00:00
Rob Austin f3b7fe2be2 HCOLL-268 updated test cases 2014-12-22 18:42:53 +00:00
Rob Austin 872b1bdd3e Merge remote-tracking branch 'origin/master' 2014-12-22 16:55:37 +00:00
Rob Austin be453ceba3 HCOLL-268 simplified the Json Parsing 2014-12-22 16:55:28 +00:00
leventov 890d5a87f7 HCOLL-203 Fixed testAcquireLockedLLPerf -- use all available processors 2014-12-22 22:36:48 +07:00
Rob Austin 7ad50e64ea updated test cases 2014-12-22 14:44:54 +00:00
leventov 4e6306101c HCOLL-203 fixed a bug -- MultiMap's search state was shared between non-exclusive read threads 2014-12-22 16:23:47 +07:00
leventov ae88a27fbd Reduced method overloading in VanillaChronicleMap 2014-12-22 03:59:28 +07:00
leventov a65d6e8c0e HCOLL-260 fixed a bug with remove() method overloading 2014-12-22 03:59:27 +07:00
Rob Austin ec34f60415 Merge remote-tracking branch 'origin/master' 2014-12-21 17:28:51 +00:00
Rob Austin b2f6ebbba0 HCOLL-259 fixed JSON<->CHM to support $$Native like BondVOInterface 2014-12-21 17:28:35 +00:00
leventov 0635b9731e HCOLL-260 HCOLL-197 support buffer resize on stateless client calls.
Removed MAP_SUPPORTS_BYTES flag
2014-12-21 22:45:13 +07:00
Rob Austin a02717ddd0 HCOL-219 extracted out some of the JSON parsing 2014-12-19 13:55:35 +00:00
leventov 0ff794d6a6 Non-replicated Chronicle Map now is not limited with x64 max oversize factor 2014-12-19 16:09:49 +07:00
Rob Austin a6926bfe4b HCOLL-184 removed this as it was failing on teamcity - " if (!absolutePath.endsWith("Chronicle-Map"))
return null;
2014-12-17 19:53:13 +00:00
Rob Austin c2b276a0b8 HCOLL-184 added BuildVersionTest and check Assets to use org.junit 2014-12-17 18:33:34 +00:00
leventov 0cc07a6a91 HCOLL-143 print a warning on attempt of creation too large ChronicleMap or ChronicleSet on Windows 2014-12-17 20:18:54 +07:00