Commit Graph
2208 Commits
Author SHA1 Message Date
leventov e14cbe262b Disable testChronicleMapCollectedAndDirectMemoryReleased() on Linux 2016-11-20 20:06:13 -06:00
leventov 1f7a928af4 Fix testChronicleMapCollectedAndDirectMemoryReleased() 2016-11-20 19:37:51 -06:00
leventov 852e503607 In serializers which use elastic Bytes, inherit Bytes' capacity on copy() to avoid unnecessary resizes in each copy 2016-11-20 19:36:00 -06:00
leventov a26b19d5c7 Generate extra garbage in MemoryResourcesTest to trigger GC 2016-11-20 18:52:38 -06:00
leventov 90b538ba64 Use random file names in tests of persisted maps to avoid inference 2016-11-20 18:31:44 -06:00
leventov 3ac1d643ac Update to chronicle-bom 1.13.34 2016-11-20 18:01:56 -06:00
leventov 0f6d37ae24 Add ExitHookTest 2016-11-19 20:27:21 -06:00
leventov 37d82f290a Review Exception throwing and handling throughtput the library, create specific InterProcessDeadLockException for Chronicle Map deadlocks 2016-11-19 19:14:53 -06:00
leventov 5ae69c3035 Fix #103 (a typo) 2016-11-12 15:49:08 -06:00
leventov d76f838adb Add ability to configure name for all ChronicleMaps and ChronicleSets via ChronicleHashBuilder.name(). Add ChronicleHash.toIdentityString() 2016-11-12 15:43:27 -06:00
leventov e7b2836e2a Impove comments in VanillaChronicleHash 2016-11-05 17:23:48 -06:00
leventov 406bd59848 Remove VanillaChronicleHash from OnExitHook on close() 2016-11-05 17:19:07 -06:00
leventov 86dd624ed3 Update LICENSE file with LGPLv3, fix #102 2016-11-05 15:15:57 -06:00
leventov 9723fcd689 Do VanillaChronicleHash.msync() only when ChronicleHash is persisted 2016-11-05 15:08:54 -06:00
leventov 9a2bb31b66 Add ChronicleHash.offHeapMemoryUsed() method; Centralized management of all direct memory and file resources of ChronicleMap in one Cleaner 2016-11-05 15:08:45 -06:00
leventov 68c29c4c54 Use on-heap elastic bytes in DataAccess implementation in order not to pollute direct memery with small allocations, reallocations and associated Cleaners, when many ChronicleMaps are created in the JVM. Also, NativeBytes reallocation granularity is 4KB, that is too much for likely small keys and values. 2016-11-05 15:06:44 -06:00
leventov b484286b1b Update chronicle-bom depedency version and bump Chronicle Map vesion to 3.11.0-SNAPSHOT 2016-11-05 14:53:53 -06:00
leventov e6f4fb74ee Fix ThrowablesTest 2016-11-05 14:53:46 -06:00
leventov 578c6638ba Add Throwables utilities, inspired by Guava 2016-10-30 13:47:34 -06:00
leventov a2c8ac4866 Try to close alive ChronicleMaps on JVM shutdown 2016-10-02 18:42:39 +03:00
leventov 4b1f11dd3a Canonicalize file to where ChronicleMaps are persisted, to ensure CanonicalRandomAccessFiles work in the face of symbolic links provided to ChronicleMapBuilder (but unfortunately not hard links) 2016-10-01 22:37:47 +03:00
leventov 3b22bb5547 Ensure safe publication of ChronicleMaps, created in ChronicleMapBuilder 2016-10-01 22:09:54 +03:00
leventov 1825fc61ee More correctly formulated reasoning of loadFence() in ThreadLocalState.unlockContextLocally() 2016-10-01 22:06:14 +03:00
leventov 223b2d4329 Prevent leaks of ChronicleMaps though thread local contexts and supplimental OldDeletedEntriesCleanupThread, add MemoryLeakTest 2016-10-01 20:33:16 +03:00
leventov 8981ae2fd0 More comments in ChronicleMapBuilder 2016-10-01 20:33:16 +03:00
leventov 126f091113 Add missing private constructor to CanonicalRandomAccessFiles to prohibit instantiation of this class 2016-10-01 20:33:16 +03:00
leventov b4258fa263 Don't use synrhonized on a public object (the map itself) in ReplicatedChronicleMap.close() 2016-10-01 20:33:16 +03:00
leventov d04b7cfc20 Make OldDeletedEntriesCleanup a Thread instead of Runnable to be executed in a single-threaded executor 2016-10-01 20:33:16 +03:00
leventov f93001dc8e Minor fixes in VanillaChronicleMap and ReplicatedChronicleMap 2016-10-01 20:33:16 +03:00
leventov ec919b94eb More clarifying comments in ThreadLocalState.closeContext() 2016-10-01 20:33:16 +03:00
leventov 95ca197444 Move ThreadLocalState.iterationContextLockedInThisThread after static members in this class 2016-10-01 20:33:16 +03:00
Peter Lawrey 4495eaf7fd Update copyright to Apache 2.0 2016-09-11 08:55:04 +01:00
Team City ea2aa89de9 [maven-release-plugin] prepare for next development iteration 2016-08-21 12:59:52 +01:00
Team City b9cc24dd34 [maven-release-plugin] prepare release chronicle-map-3.10.1 chronicle-map-3.10.1 2016-08-21 12:59:48 +01:00
leventov 15022b18b3 Close iterationContext used in recovery, fixes #96 2016-08-21 18:46:51 +07:00
Rob Austin 9c235ef3c4 Merge branch 'master' of github.com:OpenHFT/Chronicle-Map 2016-08-16 09:42:11 +01:00
Rob Austin 8d17e592ac Merge github.com:ChronicleEnterprise/Chronicle-Queue-Enterprise
Conflicts:
	.gitignore
	README.md
	pom.xml
2016-08-16 09:28:21 +01:00
Team City ff66c429d9 [maven-release-plugin] prepare for next development iteration 2016-08-07 09:10:19 +01:00
Team City e8baa914a3 [maven-release-plugin] prepare release chronicle-map-3.10.0 chronicle-map-3.10.0 2016-08-07 09:10:15 +01:00
leventov 54d481507b Remove unused field in SerializationBuilder 2016-08-05 23:31:36 +07:00
leventov 9a5d6fa50e Address the issue with ChronicleHash accessors throwing AssertionError instead of IllegalStateException after ChronicleHash is closed 2016-08-05 23:31:09 +07:00
leventov ba8227ade1 Use more specific ChronicleHashClosedException instead of IllegalStateException, when methods of ChronicleHash are called after hash.close(). Actualize ChronicleHash.close() javadoc. 2016-08-05 23:22:51 +07:00
leventov f9edc314bb Optimize VanillaChronicleMap.longSize(): don't acquire and close context for each segment, and make it atomic against concurrent map.close() 2016-08-05 23:20:50 +07:00
leventov c9bd74a29e Bump minor Chronicle Map version as dependencies updated 2016-08-02 22:45:09 +07:00
Peter Lawrey da803a83e0 Chronicle-bom 1.13.12 2016-08-02 15:41:53 +01:00
Rob Austin b5427afe8d added FAQ 2016-08-01 10:27:45 +01:00
Rob Austin 03b71c9406 added FAQ 2016-08-01 10:16:36 +01:00
Peter Lawrey 0fb4eeefdc Update Chronicle Map to using bom 1.13.12 2016-07-31 17:00:08 +01:00
leventov 4bcdcdb8ce Update license information 2016-07-22 15:05:04 +07:00
Roman Leventov 97857bbcec Remove work-in-progress note from specification README 2016-07-19 16:09:58 +07:00