Commit Graph
986 Commits
Author SHA1 Message Date
Peter Lawrey bc5ae9618e Reduce redundant newlines 2021-06-29 09:16:03 +01:00
Peter Lawrey 125577b96e Use Jvm.{level}() handlers instead of calling loggers directly, and unit tests cleanup esp use of @After, https://github.com/OpenHFT/Chronicle-Core/issues/233 2021-06-28 12:49:39 +01:00
Peter Lawrey 0c9eab0150 Improved Java 11 javadoc 2021-06-22 10:15:08 +01:00
Ivan Rakov a7f884ec24 Enable exclusive locks on Windows environments by default, https://github.com/OpenHFT/Chronicle-Map/issues/292 2021-06-17 15:55:21 +03:00
Ivan Rakov 29988ccb95 Use tryLock loop when writing map header, closes https://github.com/OpenHFT/Chronicle-Map/issues/291 2021-06-16 20:50:41 +03:00
Peter Lawrey 46306c320e Tidy newlines 2021-03-20 19:07:06 +00:00
Peter Lawrey d322df46de Move benchmark to it's own module 2021-02-26 17:10:51 +00:00
Rob AustinandRob Austin addfc1481f improvement to map (#266) and (#265)
* added AbstractClosable

* added Jvm.init()

* added disable.thread.safety

* ignore thread safety check

* disabled threadSafetyCheck for chronicle map

* removed init()

* changed isOpen() to be !isClosed()

* throwExceptionIfClosed() now creates a new ChronicleHashClosedException()

* added  test testRemainingAutoResizesAfterClose

Co-authored-by: Rob Austin <rob.austin@boundedbuffer.co.uk>
2021-01-27 18:23:07 +00:00
Dmitry Pisklov e49fa38e80 cleanup 2021-01-12 14:48:22 +00:00
Per Minborg d6efc8c205 Remove fixed file names, Fix #246 2020-12-14 15:09:33 +01:00
Per Minborg 66c8c2e6a4 Revert "Cleanup usages"
This reverts commit 7aa7b81a67.
2020-12-11 11:01:36 +01:00
Per Minborg 7aa7b81a67 Cleanup usages 2020-12-10 19:06:32 +01:00
Per Minborg 18142e10cc Allow testing on mac 2020-12-10 15:53:50 +01:00
Peter Lawrey 1c0dfd04bc Reduce System.out in tests and in general, https://github.com/OpenHFT/OpenHFT/issues/42 2020-12-10 11:37:59 +00:00
Dmitry Pisklov 7f5503bbab Fix benchmark and add anther one for non-persisted map 2020-11-24 11:37:36 +00:00
Peter Lawrwy 9dc2b9130f Sync 2020-11-10 15:02:44 +00:00
Peter Lawrey 13fc38aa49 Add a utility to make unique files/dirs easier, closes https://github.com/OpenHFT/Chronicle-Core/issues/149 2020-11-02 13:36:07 +00:00
Peter Lawrey 83e04bce22 Tidy code 2020-11-02 10:30:37 +00:00
Peter Lawrey 184dd87e57 Add a utility to make unique files/dirs easier, closes https://github.com/OpenHFT/Chronicle-Core/issues/149 2020-11-02 08:56:07 +00:00
Peter Lawrey a76f6b7e86 Remove redundant newlines 2020-10-29 15:51:01 +00:00
Peter Lawrey 47f22a4572 Always throw a rethrow so the compile can detect unreachable code 2020-10-27 09:36:41 +00:00
Peter Lawrey c6cb8865c8 Single repo to build all the others with the latest SNAPSHOT, tidy copyright, https://github.com/ChronicleSoftware/Build-All/issues/1 2020-10-26 10:57:04 +00:00
Peter Lawrey 25a2bfb4c5 Improved support for BytesMarshallable and Marshallable, closes https://github.com/OpenHFT/Chronicle-Map/issues/235 2020-10-15 18:22:28 +01:00
Peter Lawrey 0bcf774a14 Use OS.getTarget() instead of TARGET, make private once all libraries have been released. 2020-09-25 16:22:33 +01:00
Peter Lawrey 87f7820407 Fix @NotNull annotations 2020-09-25 13:32:02 +01:00
Dmitry Pisklov 90bd3c527a OS.TARGET is now private and lazily initialized to avoid unnecessary file system access from the static initializer - fixes OpenHFT/Chronicle-Map#231 2020-09-25 13:21:00 +01:00
Peter Lawrey e4d7a50eee Move classes in algos which need map into maps, closes https://github.com/OpenHFT/Chronicle-Algorithms/issues/10 2020-09-18 17:03:09 +01:00
Per Minborg aa3658e890 Try to fix failing tests on Windows S1E2 2020-09-03 09:00:50 +02:00
Per Minborg 6b4b995219 Try to fix failing tests on Windows 2020-09-02 20:25:59 +02:00
Per Minborg ce46857e02 Exclude tests on Windows, work on #229 2020-09-02 19:59:44 +02:00
Per Minborg 07a9ba94ca Disable file locking on Windows, work on #229 2020-09-02 19:24:19 +02:00
Per Minborg 36f03b4e4a Add file locking, work on #229 2020-09-02 17:40:18 +02:00
Per Minborg 3e969a4266 Cleanup test resources 2020-09-01 16:42:39 +02:00
Per Minborg 1a5571e938 Cleanup classes 2020-09-01 15:25:14 +02:00
cotton-ben 63bb24f8ea Re-factored Jupiter Junit5 dependency in ChronicleStampedLock (reference impl)'s DirtyReadOffenderTest.java ... moving to RFC repo 2020-07-19 10:07:44 -04:00
cotton-ben ba2d424ad3 fixed bug (R) <-- { w,w } 2020-07-18 15:44:11 -04:00
cotton-ben 3eed29749d made coherent the invoke of offHeap.writeLock() in tests 2020-07-18 13:50:42 -04:00
cotton-ben b17b5f3c66 made coherent the invoke of offHeap.readLock() in DirtyReadIntolerant.java 2020-07-18 13:40:02 -04:00
cotton-ben fc66df2e49 building a ChronicleStampedLock.java reference implementation in the RFC repo. 2020-07-18 12:27:43 -04:00
cotton-ben bd58ea4894 corrected race-condition on our LongValue.addAtomic(+1); 2020-07-16 17:18:39 -04:00
Rob Austin 065b549b9f Merge branch 'master' into ACID=transactions=Isolation=Tests 2020-07-14 17:11:13 +01:00
cotton-ben 6f14a15b44 built in (0,1) second pause to deter racing readers (seeking a tryReadLock() stamp) from incrementing {readerCount} cardinality incoherently. using LongValue.addAtomicReaderCount(+1); as per Chronicle-Algorithms 2020-07-14 11:30:12 -04:00
cotton-ben e0ef68a1b6 built in (0,1) second pause to deter racing readers (seeking a tryReadLock() stamp) from incrementing {readerCount} cardinality incoherently. 2020-07-12 09:31:57 -04:00
cotton-ben bddd72d11b using chm as StampedLock readerCount,lockState, lastWriter custodian 2020-07-09 19:03:53 -04:00
cotton-ben 3918f4ab3e fixed both transport=/dev/shm/ references for www.xsede.org java (hdf5) 2020-07-07 06:20:43 -04:00
cotton-ben c12424d1e1 fixed transport=/dev/shm/ reference for www.xsede.org java (hdf5) 2020-07-07 05:56:56 -04:00
cotton-ben 6644f4f024 fixed transport reference for www.xsede.org java (hdf5) 2020-07-06 16:52:07 -04:00
cotton-ben c97c6c20f7 ... 2020-07-06 08:04:16 -04:00
cotton-ben eafe172373 Merge branch 'ACID=transactions=Isolation=Tests' of https://github.com/Cotton-Ben/Chronicle-Map into ACID=transactions=Isolation=Tests 2020-07-06 08:02:43 -04:00
Cotton-Ben ad082d41f3 awaiting Chronicle-Map maintenance completion 2020-07-05 11:02:26 -04:00