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
|
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
|
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
|
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
|
15022b18b3
|
Close iterationContext used in recovery, fixes #96
|
2016-08-21 18:46: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 |
|
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 |
|
leventov
|
7afe1eca13
|
Optimize VanillaChronicleMap.get() and getUsing()
|
2016-07-17 23:35:58 +07:00 |
|
leventov
|
7a1f00b1d8
|
Minor javadoc improvement of ChronicleMap
|
2016-07-17 23:25:52 +07:00 |
|
leventov
|
7ada09a8dc
|
Make VanillaChronicleHash.close() to wait until concurrent threads accessing the hash finish their work and don't permit new threads to come while close() is in progress and after that
|
2016-07-17 23:25:49 +07:00 |
|
leventov
|
b3c1f7b1e2
|
Expose Thread owner() in ChainingInterface
|
2016-07-17 23:25:46 +07:00 |
|
Peter Lawrey
|
a230c08e89
|
Cut blank lines
|
2016-07-07 20:33:40 +01:00 |
|
leventov
|
733b8eb29e
|
Merge branch 'master' of github.com:OpenHFT/Chronicle-Map
|
2016-04-18 18:04:57 +01:00 |
|
Peter Lawrey
|
35c721419c
|
Fix a couple of API changes.
|
2016-04-17 19:36:06 +01:00 |
|
leventov
|
8dff07239f
|
Merge branch 'master' of github.com:OpenHFT/Chronicle-Map
|
2016-04-15 19:21:20 +01:00 |
|
Peter Lawrey
|
b90ebc3b39
|
Fix up some tests broken from a tidy up of exceptions.
|
2016-04-15 13:09:59 +01:00 |
|
leventov
|
efe4a30a51
|
Tiny doc fixes
|
2016-04-12 14:38:33 +01:00 |
|
Peter Lawrey
|
ffff33bed1
|
Reduce Thread.sleep to Jvm.pause, delays >= 1s to 500 ms, and remove "throws Exception" from tests
|
2016-04-12 12:08:14 +01:00 |
|
Peter Lawrey
|
ceab61fd85
|
Rename Not Ready to Not Complete. Support reading Not COmplete messages unless being read from shared memory.
|
2016-04-12 11:39:23 +01:00 |
|
leventov
|
739796b90d
|
Improve documentation
|
2016-03-23 20:09:43 +07:00 |
|
leventov
|
e081cb87ba
|
Update Chronicle-Values dependency and try to check if some interface is a valueInterface before attempting to generate implementations
|
2016-03-12 21:33:23 +07:00 |
|
leventov
|
da48414126
|
Optimize SizedMarshallableDataAccess to avoid double data copy when writing values
|
2016-03-05 17:32:07 +07:00 |
|
leventov
|
e677f07d46
|
Use Data.equivalent() method in KeySearch.keyEquals() (because it could be specialized to perform more efficiently), and switch arguments in Data.bytesEquivalent() usages, so that the first Data instance is more likely to optimized for comparison
|
2016-03-04 21:20:12 +07:00 |
|
leventov
|
e37de00202
|
Reduce write lock scope as much as possible in relocation and remove operations
|
2016-02-26 20:55:47 +07:00 |
|
leventov
|
1a275288b5
|
Removed excessive code from ReplicatedMapAbsent.doInsert() method
|
2016-02-24 16:43:14 +07:00 |
|
leventov
|
820573a684
|
Add method CompactOffHeapLinearHashTable.readEntryVolatile() method and use it during key search
|
2016-02-20 16:38:59 +07:00 |
|
leventov
|
4b58d21953
|
Refactor MapQuery.putPrefix() method
|
2016-02-17 17:14:39 +07:00 |
|
leventov
|
7293e5d7bb
|
Remove REMOVED query state to reduce complexity
|
2016-02-16 20:40:47 +07:00 |
|
leventov
|
05ccde9671
|
Add dataStoreSize field to Chronicle Map's global mutable state
|
2016-02-13 21:27:30 +07:00 |
|
leventov
|
e5c37a1e8f
|
Update dependencies
|
2016-02-13 21:22:14 +07:00 |
|
leventov
|
f8776281e7
|
Make comment attribution more clear
|
2016-02-13 17:59:33 +07:00 |
|
Faisal Hameed
|
efd3e1f05a
|
Fixing squid:S1066- Collapsible "if" statements should be merged.
|
2016-02-12 10:12:13 +05:00 |
|
leventov
|
31d362fe2f
|
Use OS.pageSize() instead of 4096 constant in ChronicleMapBuilder.segmentHeaderSize() method
|
2016-02-10 23:00:33 +07:00 |
|
leventov
|
d7ed5b0153
|
Simplify parameter flow on VanillaChronicleHash initialization
|
2016-02-09 15:03:34 +07:00 |
|
leventov
|
e2ec9db371
|
Register Chronicle Map's randomAccessFile cleaner only after all creation/recovery procedures complete, to avoid double release
|
2016-02-09 14:57:44 +07:00 |
|
leventov
|
001b710084
|
Raise IOException or ChronicleHashRecoveryFailed exception instead of generic RuntimeException in VanillaChronileHash.initBeforeMapping() method
|
2016-02-09 14:46:18 +07:00 |
|
leventov
|
189d40d1ca
|
Don't write Chronicle Map ready bit into the header if the Map has just been read from disk without recovery
|
2016-02-09 14:35:06 +07:00 |
|
leventov
|
00819bff66
|
Use canonical RandomAccessFiles (=> FileChannels, too) to guarantee fileLocks are not released during critical operation, because some concurrent thread closes fileChannel on different instance of a map
|
2016-02-07 19:59:47 +07:00 |
|
leventov
|
64cf485b92
|
Reduce file locking synchronization scope
|
2016-02-07 19:04:40 +07:00 |
|
leventov
|
be58427a9f
|
Synchronize ChronicleMap creation persisted to some file within JVM
|
2016-02-05 21:47:46 +07:00 |
|
leventov
|
e760af06d5
|
Make recovery procedure to be able to recovery Chronicle Map files with readiness bit not reached the disk
|
2016-02-05 19:55:10 +07:00 |
|
leventov
|
69638baf04
|
Use TextWire instead of BinaryWire for Chronicle Map's self-bootstrapping header encoding
|
2016-02-05 17:11:19 +07:00 |
|
leventov
|
7b9ccac147
|
Align persisted Chronicle Map creation with Size Prefixed Blob and Self-Bootstrapping Header specifications
|
2016-02-05 16:46:12 +07:00 |
|
leventov
|
56e5e93388
|
Hide the remaining parts of the replication API from the public eye
|
2016-01-17 17:08:13 +03:00 |
|