This project is mirrored from https://gitee.com/mirrors/neo4jsource.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
  1. 10 Apr, 2014 1 commit
    • Mattias Persson's avatar
      Primitive hash collections and maps using hop-scotch hashing · 67ddb874
      Mattias Persson authored
      Hop-scotch hashing is an algorithm for dealing with conflicts coming from
      hashing values to an index and not really about the hashing itself, as any
      hash function can be used with it.
      
      Measured to be comparable to other leading libraries with equal
      functionality and with substantially less, also dry, code.
      The algorithm itself is pulled out into its own class and clocks in on
      about 200-300 LOC, whereas the hash set/map implementations calls that
      algorithm with one-liners. The state itself is abstracted into a Table interface
      which is trivial to implement with, for example a primitive long[], a
      combination of long[] and int[] for a long->int primitive map, a.s.o.
      
      Implementation was driven by an iterative randomizing testing framework
      also added in this commit where actions are defined, for example "add" and
      "remove" with checks that goes with the actions. In the event a check not
      returning OK the execution stops, reduces the list of actions down to a
      minimum (by brute-force-reduction one action at a time) and finally prints
      a java-code test case to reproduce the problem. Confidence in the code is
      high since it has been tested for a very large combination of values
      and sizes.
      
      These sets and maps should be preferable over java.util collections in
      cases where the key is int or long and access is single threaded.
      If need be a multi-threaded version of the algorithm can be added later.
      
      The new sets and maps and all interface it depends on from kernel has been
      moved into a primitive-collections module that kernel depends on. Since
      everything else depends on kernel this change will barely be noticable for
      any other component, apart from class import changes.
      67ddb874
  2. 09 Apr, 2014 3 commits
  3. 08 Apr, 2014 12 commits
    • Jakub Wieczorek's avatar
      Rename heuristics to statistics · eb8250c1
      Jakub Wieczorek authored
      eb8250c1
    • Jakub Wieczorek's avatar
      94fbd319
    • Mattias Persson's avatar
      Merge pull request #2242 from tinwelint/2.0-merge-1.9 · c1f2e3a7
      Mattias Persson authored
      2.0 <-- merge -- 1.9 (next wave)
      c1f2e3a7
    • Jakub Wieczorek's avatar
      Fix the build · e8f633ca
      Jakub Wieczorek authored
      e8f633ca
    • Jakub Wieczorek's avatar
      2870e0ec
    • Stefan Plantikow's avatar
      Merge pull request #2235 from davidegrohmann/ronja-heuristics · 440081f1
      Stefan Plantikow authored
      Heuristics cleanups, fixes,  and improvements
      440081f1
    • Mattias Persson's avatar
      Merge branch '1.9-maint' into 2.0-merge-1.9 · bc2f4963
      Mattias Persson authored
      Conflicts:
      	community/kernel/CHANGES.txt
      	community/kernel/src/main/java/org/neo4j/kernel/impl/transaction/TransactionImpl.java
      	community/kernel/src/main/java/org/neo4j/kernel/impl/transaction/TxManager.java
      	community/kernel/src/main/java/org/neo4j/kernel/impl/transaction/xaframework/XaResourceManager.java
      	community/kernel/src/test/java/org/neo4j/kernel/impl/transaction/TestInjectMultipleStartEntries.java
      	community/kernel/src/test/java/org/neo4j/kernel/impl/transaction/TestJtaCompliance.java
      	community/kernel/src/test/java/org/neo4j/kernel/impl/transaction/TestXaFramework.java
      	community/kernel/src/test/java/org/neo4j/kernel/impl/transaction/TxManagerTest.java
      	community/server/CHANGES.txt
      	community/server/src/test/java/org/neo4j/server/DatabaseTuningDocIT.java
      	community/server/src/test/java/org/neo4j/server/NeoServerPortConflictDocIT.java
      	community/server/src/test/java/org/neo4j/server/NeoServerShutdownLoggingDocIT.java
      	community/server/src/test/java/org/neo4j/server/NeoServerStartupLoggingDocIT.java
      	community/server/src/test/java/org/neo4j/server/database/TestCommunityDatabase.java
      	community/server/src/test/java/org/neo4j/server/helpers/ServerBuilder.java
      	community/server/src/test/java/org/neo4j/server/preflight/TestPreflightTasks.java
      	community/server/src/test/java/org/neo4j/server/rest/web/UserAgentCollectorDocIT.java
      	community/server/src/test/java/org/neo4j/server/web/TestJetty6WebServer.java
      	cypher-plugin/pom.xml
      	enterprise/backup/CHANGES.txt
      	enterprise/cluster/CHANGES.txt
      	enterprise/cluster/src/main/java/org/neo4j/cluster/protocol/atomicbroadcast/multipaxos/MultiPaxosContext.java
      	enterprise/ha/CHANGES.txt
      	enterprise/ha/src/main/java/org/neo4j/kernel/ha/HighlyAvailableGraphDatabase.java
      	enterprise/ha/src/main/java/org/neo4j/kernel/ha/transaction/MasterTxIdGenerator.java
      	enterprise/ha/src/test/java/org/neo4j/kernel/index/AutoIndexConfigIT.java
      	packaging/standalone/standalone-advanced/src/main/distribution/text/advanced/CHANGES.txt
      	packaging/standalone/standalone-community/src/main/distribution/text/community/CHANGES.txt
      	packaging/standalone/standalone-enterprise/src/main/distribution/text/enterprise/CHANGES.txt
      bc2f4963
    • Jakub Wieczorek's avatar
      Cleanup generateLeafPlans · 710c0a2b
      Jakub Wieczorek authored
      The results of two acceptance tests have changed but they
      are equivalent.
      710c0a2b
    • Lasse Westh-Nielsen's avatar
    • Lasse Westh-Nielsen's avatar
      f5ec67e7
    • Mattias Persson's avatar
      Merge pull request #2241 from tinwelint/2.1-merge-2.0 · e6a622d2
      Mattias Persson authored
      2.1 <-- merge -- 2.0
      e6a622d2
    • Mattias Persson's avatar
      Merge branch '2.0-maint' into 2.1-merge-2.0 · 0d16fdcf
      Mattias Persson authored
      Conflicts:
      	advanced/server-advanced/src/main/java/org/neo4j/server/advanced/AdvancedNeoServer.java
      	advanced/server-advanced/src/test/java/org/neo4j/server/advanced/helpers/AdvancedServerBuilder.java
      	community/cypher/cypher-compiler-2.0/src/main/scala/org/neo4j/cypher/internal/compiler/v2_0/commands/expressions/Expression.scala
      	community/cypher/cypher-compiler-2.0/src/main/scala/org/neo4j/cypher/internal/compiler/v2_0/pipes/TopPipe.scala
      	community/cypher/cypher-compiler-2.0/src/test/scala/org/neo4j/cypher/internal/compiler/v2_0/pipes/TopPipeTest.scala
      	community/kernel/src/main/java/org/neo4j/kernel/EmbeddedGraphDatabase.java
      	community/kernel/src/main/java/org/neo4j/kernel/InternalAbstractGraphDatabase.java
      	community/kernel/src/main/java/org/neo4j/kernel/impl/api/Kernel.java
      	community/kernel/src/main/java/org/neo4j/kernel/impl/nioneo/xa/NeoStoreTransaction.java
      	community/kernel/src/main/java/org/neo4j/kernel/impl/nioneo/xa/NeoStoreXaDataSource.java
      	community/kernel/src/main/java/org/neo4j/kernel/impl/transaction/RWLock.java
      	community/kernel/src/main/java/org/neo4j/kernel/impl/transaction/xaframework/XaResourceManager.java
      	community/kernel/src/main/java/org/neo4j/kernel/impl/util/FileUtils.java
      	community/kernel/src/test/java/org/neo4j/kernel/impl/nioneo/store/TestNeoStore.java
      	community/kernel/src/test/java/org/neo4j/kernel/impl/nioneo/xa/WriteTransactionTest.java
      	community/kernel/src/test/java/org/neo4j/kernel/impl/transaction/xaframework/TestUpgradeOneDotFourToFiveIT.java
      	community/kernel/src/test/java/org/neo4j/test/ImpermanentGraphDatabase.java
      	community/server/src/main/java/org/neo4j/server/AbstractNeoServer.java
      	community/server/src/main/java/org/neo4j/server/CommunityNeoServer.java
      	community/server/src/main/java/org/neo4j/server/WrappingNeoServer.java
      	community/server/src/main/java/org/neo4j/server/database/CommunityDatabase.java
      	community/server/src/main/java/org/neo4j/server/database/CypherExecutor.java
      	community/server/src/main/java/org/neo4j/server/database/WrappedDatabase.java
      	community/server/src/test/java/org/neo4j/server/database/EphemeralDatabase.java
      	community/server/src/test/java/org/neo4j/server/database/TestCommunityDatabase.java
      	community/server/src/test/java/org/neo4j/server/helpers/CommunityServerBuilder.java
      	community/server/src/test/java/org/neo4j/server/preflight/TestPerformUpgradeIfNecessary.java
      	community/server/src/test/java/org/neo4j/server/rest/paging/PagedTraverserTest.java
      	community/server/src/test/java/org/neo4j/server/web/TestJetty9WebServer.java
      	community/server/src/test/java/org/neo4j/server/webadmin/rest/RootServiceDocTest.java
      	community/server/src/test/java/org/neo4j/server/webadmin/rest/VersionAndEditionServiceTest.java
      	enterprise/com/src/main/java/org/neo4j/com/storecopy/RemoteStoreCopier.java
      	enterprise/ha/src/main/java/org/neo4j/kernel/ha/HighlyAvailableGraphDatabase.java
      	enterprise/ha/src/test/java/org/neo4j/ha/TestPullUpdatesApplied.java
      	enterprise/server-enterprise/src/main/java/org/neo4j/server/enterprise/EnterpriseDatabase.java
      	enterprise/server-enterprise/src/main/java/org/neo4j/server/enterprise/EnterpriseNeoServer.java
      	enterprise/server-enterprise/src/test/java/org/neo4j/server/enterprise/EnterpriseDatabaseIT.java
      	enterprise/server-enterprise/src/test/java/org/neo4j/server/enterprise/helpers/EnterpriseServerBuilder.java
      0d16fdcf
  4. 07 Apr, 2014 5 commits
  5. 04 Apr, 2014 15 commits
  6. 03 Apr, 2014 4 commits