Commit Graph
1840 Commits
Author SHA1 Message Date
Andrei Dodon 433fdcc768 Update 0-purposes.md
correct misspelling
2015-10-22 17:48:02 +02:00
leventov 01ac66a830 Replace net.openhft.chronicle.hash.function.SerializableFunction usages with the same interface from Chronicle-Core, and delete net.openhft.chronicle.hash.function package 2015-10-22 16:44:05 +03:00
leventov c056b70259 Remove unused UnaryOperator 2015-10-22 16:37:03 +03:00
leventov 2111d1865c Make all ReplicatedChronicleMap fields transient 2015-10-22 04:28:52 +03:00
leventov 0985eb71a1 Remove metaDataBytes (unused) 2015-10-22 03:45:47 +03:00
leventov 07b75d8b8a Allow ReplicatedChronicleMap to be accessed without configuring replicators 2015-10-22 00:19:59 +03:00
leventov 4c04a942f7 Update to the latest chronicle-bom 2015-10-22 00:18:31 +03:00
leventov a13bf449d0 Make value and value size configuration obligatory in ChronicleMapBuilder 2015-10-14 17:47:22 +03:00
leventov 7d35346022 Add package-private worstAlignment() config to ChronicleMapBuilder 2015-10-14 17:44:45 +03:00
leventov 18151f4f34 Add BooleanMarshaller 2015-10-14 17:42:56 +03:00
leventov f3bec4ebac Add ChronicleMap.of() as a shortcut to ChronicleMapBuilder.of() 2015-10-13 15:28:12 +03:00
leventov aec4a73866 Fix a bug in ChannelProvider.ChronicleChannel.close(), props to @maxime-leur #51 2015-10-13 14:35:11 +03:00
leventov 16dc9b79eb Update dependencies 2015-10-12 15:32:47 +03:00
leventov 7c4b0ed10b Remove tier bulk alignment (as actually not needed) 2015-10-11 17:04:20 +03:00
Rob Austin db9e30a2fa Merge pull request #49 from metabrain/master
Fix urls in spec/README.md
2015-10-11 06:44:58 +01:00
dparreira 7ec7f2bdfb Fix urls in spec/README.md 2015-10-11 00:23:47 +01:00
leventov f1a13a4dfd Rename rootContextOnThisSegment -> rootContextLockedOnThisSegment and concurrentSameThreadContexts -> nestedContextsLockedOnSameSegment -- clearer names 2015-10-09 19:17:59 +03:00
leventov fb6d1facdc Fix code example in MapEntryOperations javadoc (bad formatting, the code was not printed) 2015-10-09 16:25:19 +03:00
leventov e1df6dc68f Fix a bug in TcpReplicator -- didn't schedule to connect to an endpoint later, when channel.socket().setTcpNoDelay(true) throws an exception 2015-10-09 15:11:08 +03:00
leventov cad3d3abfe HCOLL-400 forbid nested update and write locks inside iteration contexts; rename IterationContextInterface to IterationContext; update stage-compiler dependency 2015-10-09 15:09:32 +03:00
leventov b02d738cf2 Bump version (beta snapshot) 2015-10-08 10:06:50 +03:00
Team City 86299a8a28 [maven-release-plugin] prepare for next development iteration 2015-10-07 15:21:52 +01:00
Team City a4d68ccb5f [maven-release-plugin] prepare release chronicle-map-3.1.4-alpha chronicle-map-3.1.4-alpha 2015-10-07 15:21:47 +01:00
leventov 64dd5d99c1 Remove redundant hash lookup slot update in innerDefaultReplaceValue() 2015-10-07 17:08:22 +03:00
leventov 96cee73f26 Unconditional zeroing out of newly allocated memory, because 1) it is very slow in Java-Lang 6.7.3 due to a bug 2) not clear which way is better, see HCOLL-401 2015-10-07 16:51:21 +03:00
leventov 81535163b2 Make IterationContexts' hashLookupPos depend on segmentTier as well as QueryContexts'; add missed hashLookupPos step back in iteration, if hash lookup slot is removed, because entry is relocated to a chained tier; add missed tierIndex initialization in initSegmentTier_WithBaseAddr() 2015-10-07 16:43:37 +03:00
leventov 03a761ebbf Zero out last allocated tier in VanillaChronicleHash.allocateTierBulk() 2015-10-07 16:14:28 +03:00
leventov 70fb0dd2fa Refactor: move initUsed(true) inside ChainingInterface.getContext() 2015-10-06 18:59:54 +03:00
leventov b967ad14d4 Factor Alloc stage abstraction, make alloc which fails to allocate in the current tier search from the first tier in chain 2015-10-06 18:59:45 +03:00
leventov e774c9f826 Update chronicle-bom dependency 2015-10-06 09:33:40 +03:00
leventov 8cb556a9c1 Change allocatedExtraTierBulks counter type from long to int 2015-10-05 10:57:42 +03:00
leventov 0adaaa935d Store segmentHeadersOffset in global Mutable state (according to spec; to make ChronicleMap file independent from current mapping page size) 2015-10-05 10:15:31 +03:00
leventov 1384a56768 Align tier bulks to mapping granularity, instead of page boundary 2015-10-05 10:12:39 +03:00
leventov 21d5342048 Optimize memory in non-persisted case -- don't zero out all memory eagery; remove global mutable state duplication code in VanillaChronicleHash and ReplicatedChronicleMap; make sleep interruptible in OldEntriesCleanup thread; remove old entries cleanup duplicatation tracking; fix bugs 2015-10-04 07:57:12 +03:00
leventov 01c81ca05b Add debug logging of extra tier allocation 2015-10-03 05:18:08 +03:00
leventov 901ce5b55c Fix a bug: tierIndexOffsetWithinBulk extracted from position in tier bulk changes bitset was used as tierIndexMinusOne; refactorings 2015-10-03 05:14:38 +03:00
leventov 9d3ff93021 Default removedEntryCleanupTimeout() 1 second -> 1 minute 2015-10-03 05:10:54 +03:00
leventov 7460074ac5 Moved testFloodReplicatedMapWithDeletedEntries() test to a separate class from TcpReplicationSoakTest because they require different old deleted entries cleanup timeout configurations 2015-10-03 05:06:39 +03:00
leventov 71599fd4eb Proper zeroing-out mapped bytes (that could potentially be dirty), and only the bytes that are required to be zero by tier state invariants; refactorings and renamings 2015-10-03 01:38:35 +03:00
leventov 05f94965be Refactor TimeProvider 2015-10-02 13:09:15 +03:00
leventov f70d8b262a Add a comment on ChronicleMapBuilder.MAX_SEGMENTS choice 2015-10-02 11:37:18 +03:00
leventov 228f29d4b5 More random walk in OldDeletedEntriesCleanup 2015-10-02 10:59:36 +03:00
leventov 9ef7c514a3 Link ReplicableEntry and ChronicleHashBuilder.cleanupRemovedEntries() in Javadoc 2015-10-02 05:50:12 +03:00
Rob Austin c2e634fa13 corrected - if (attached.isServer && attached.isHandShakingComplete()) 2015-10-02 02:53:10 +03:00
Rob Austin 7bbaa9e402 corrected - if (attached.isServer && attached.isHandShakingComplete()) 2015-10-02 02:52:43 +03:00
Rob Austin efe6db066f corrected if (!attached.isServer || !attached.isHandShakingComplete())
return;
2015-10-02 02:51:50 +03:00
Rob Austin 488dc752c8 improved the connection listener 2015-10-02 02:50:57 +03:00
Rob Austin cd9aafbe2b fixed issue with 2015-10-02 02:46:13 +03:00
leventov fe4b200142 added connection listener check 2015-10-02 02:45:38 +03:00
leventov dad9de7ca2 added connection listener 2015-10-02 02:43:44 +03:00