Commit Graph
694 Commits
Author SHA1 Message Date
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
Rob Austin 89cea2282e locks should throw InterruptedException or return when the current thread is interrupted 2015-01-31 10:44:08 +00:00
Rob Austin 8d500e1ab6 changed shutdown to also called shutdownNow 2015-01-31 00:11:39 +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 ff65e741ff #15 Fixed bug in Hasher 2015-01-24 11:37:35 +07:00
Peter Lawrey 8a4ad9ade2 Use ChronicleMapBuilder to build all ChronicleMap 2015-01-15 17:35:44 +00:00
Rob Austin f9b412303c HCOLL-294 changed back to SPIN_LOOP_TIME_IN_NONOSECONDS 2015-01-14 13:26:48 +00:00
Rob Austin b681f93a49 HCOLL-294 changed to SPIN_LOOP_TIME_IN_MILLIS = 10; 2015-01-14 11:38:53 +00:00
Rob Austin f285ab2756 HCOLL-294 changed back to a spin loop but this time only for 10ms 2015-01-14 11:29:37 +00:00
Rob Austin efeab00079 HCOLL-294 reduced object creation in the TcpReplication Selector 2015-01-14 10:52:41 +00:00
Rob Austin 0e9dbaf5d8 HCOLL-293 now reading the version from the resource file "map.version" 2015-01-13 18:49:43 +00:00
Rob Austin d76691fcaa HCOLL-134 added a serialization test 2015-01-12 16:25:45 +00:00
Rob Austin 58bf971aa2 HCOLL-291 Remove unnecessary entry size calculation in tcp replication 2015-01-12 10:38:23 +00:00
leventov 5558f4eec6 Fixed several bugs in contexts API implementation and in VanillaChronicleMap.putValue() 2015-01-03 03:18:57 +07:00
leventov f65a898d5d HCOLL-277 HCOLL-289 need to be part of the prev commit 2015-01-03 02:07:46 +07:00
leventov db594bfb64 HCOLL-277 HCOLL-278 HCOLL-289 Fixed two bugs in VanillaChronicleMap.putValue() 2015-01-03 01:56:49 +07:00
Rob Austin cbf727ae7a HCOLL-290 possibly fixed - Reported NPE in net.openhft.chronicle.map.TcpReplicator#heartBeatMonitor 2015-01-02 17:49:27 +00:00
Rob Austin f1083c617a Merge remote-tracking branch 'origin/master' 2015-01-02 12:39:55 +00:00
Rob Austin 0b7860d554 simplified resize logic 2015-01-02 12:39:34 +00:00
leventov 96a0b57c66 HCOLL-285 Refactor Stateless client builders, MapInstanceConfig =>
Builder, removed addJsonConverter method from ChronicleMapBuilder
2015-01-02 00:36:30 +07:00
Rob Austin 2ec2906e86 updated java doc 2015-01-01 09:56:06 +00:00
Rob Austin 064fdb0ad2 added javadoc to newValueInstance and newKeyInstance 2015-01-01 09:52:19 +00:00
Rob Austin 8bb52ea6a1 removed from java doc - MAPS CONTAINING KEYS/VALUES GENERATED WITH OFF-HEAP INTERFACES ARE NOT CURRENTLY SUPPORTED,CURRENTLY ONLY KEYS/VALUES THAT IMPLEMENT SERIALIZABLE ARE SUPPORTED 2015-01-01 09:37:36 +00:00
Rob Austin f06585af44 minor refactors 2014-12-31 09:16:57 +00:00
Rob Austin 5488d26c6a HCOLL-284 improved detection of closed connections. 2014-12-31 09:07:17 +00:00
leventov 0d14d7fc78 HCOLL-284 better assert-independent bounds checking 2014-12-31 06:46:22 +07:00
leventov c9224cd690 HCOLL-284 resize the copying buffer before serialization 2014-12-31 04:04:47 +07:00
leventov e150538978 Fixed typo xstreem -> xstream package name 2014-12-31 03:34:34 +07:00
leventov d1218415ef HCOLL-266 optional xStream dependency 2014-12-31 03:33:19 +07:00
leventov 90645d626c HCOLL-284 update Lang dep 2014-12-31 03:06:52 +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 cbb97077a2 Finally fixed HCOLL-244 bug 2014-12-30 11:19:03 +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 dd969a495c HCOLL-244 Fixed a bug with pseudo-put or remotely replicated entry 2014-12-30 08:34:13 +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 6d3979e14c HCOLL-244 Fixed integer repr of NO_ALIGNMENT -- should be 1, not 0 2014-12-30 05:17:41 +07:00
leventov 4314db6c8a HCOLL-244 Fixed entrySize computation in ReplicatedChronicleMap 2014-12-30 05:05:50 +07:00
leventov 64ba0c04be Fixed a bug in AbstractChronicleMapConverter 2014-12-30 01:06:30 +07:00
leventov 20cde48b55 HCOLL-244 fixed a bug in VanillaChornicleMap 2014-12-30 01:05:38 +07:00
leventov 433765f0f0 HCOLL-266 Human readable ChornicleMap header 2014-12-29 06:35:04 +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