Commit Graph
1913 Commits
Author SHA1 Message Date
Peter Lawrey a152467b89 Add direct support for sparse files under Linux #313 2021-08-06 14:59:16 +01:00
Peter Lawrey 9b64cdccf0 Add direct support for sparse files under Linux #313 2021-08-06 14:13:57 +01:00
Peter Lawrey a271c00d79 Don't throw an exception if closed when just getting the identity object for the map. 2021-08-06 13:41:24 +01:00
Peter Lawrey 3064192db7 Don't throw an exception if closed when just getting the identity object for the map. 2021-08-06 12:12:25 +01:00
Ilya Kaznacheev bbd028d4a6 Use priority shutdown hook to close maps on exit
Fixes ChronicleEnterprise/Chronicle-Map-Enterprise#57
2021-07-28 17:57:17 +03:00
Per Minborg 909bec7118 Add warning before recovery operation starts, Fix #308 2021-07-28 11:34:33 +02:00
Ilya Kaznacheev fc0a641b2d minor: captch and decorate IllegalStateException derivatives 2021-07-15 13:25:02 +03:00
Jerry Shea 78106b5413 de-deprecate - org.hamcrest.MatcherAssert 2021-07-14 08:52:12 +10:00
Rob Austin e8b2863dd8 ignored msync - #304 2021-07-05 16:55:59 +01:00
Ivan Rakov b201535c3c Fix edge cases reproduced on Guava CHM tests, closes https://github.com/OpenHFT/Chronicle-Map/issues/303 2021-06-30 18:32:47 +03:00
Ivan Rakov a5fdc1f9cc TeamCity build fails with latest 3rd party bom, closes https://github.com/OpenHFT/Chronicle-Map/issues/300 2021-06-29 18:37:43 +03:00
Peter Lawrey bc5ae9618e Reduce redundant newlines 2021-06-29 09:16:03 +01:00
Peter Lawrey 26295b1f9b Reduce redundant newlines 2021-06-28 17:51:04 +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 ecf29a95b7 Document ChronicleMap#acquireContext 2021-06-21 22:07:58 +03: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
Ivan Rakov 9023fa440c Follow-ip fix https://github.com/OpenHFT/Chronicle-Map/issues/276 2021-06-04 19:29:41 +03:00
Ivan Rakov f87af8ad78 Completely file disable locking if property is set, closes https://github.com/OpenHFT/Chronicle-Map/issues/276 2021-06-04 17:35:31 +03:00
Ivan Rakov 1f00444d13 Fixed data loss on bloated map restart, closes https://github.com/ChronicleEnterprise/Chronicle-Map-Enterprise/issues/53 2021-05-26 21:30:52 +03:00
Peter Lawrey 44dcf5ef2c Remove references to Random from production code, closes https://github.com/OpenHFT/Chronicle-Core/issues/218 2021-03-24 12:16:55 +00:00
Peter Lawrey 46306c320e Tidy newlines 2021-03-20 19:07:06 +00:00
Peter Lawrey 2fbf2322ac Added performant memory access operations to use in Bytes, https://github.com/OpenHFT/Chronicle-Core/issues/209 2021-03-09 10:54:39 +00:00
Ivan Rakov d35ebaf69a Return old dirtyEntries as deprecated to keep compatibility 2021-03-02 16:23:26 +03:00
Ivan Rakov 0b8bc725fe Return old dirtyEntries as deprecated to keep compatibility 2021-03-02 15:30:18 +03:00
Ivan Rakov adfb833ca5 Dirty outdated entries on reconnect without affecting critical activities, closes https://github.com/ChronicleEnterprise/Chronicle-Map-Enterprise/issues/49 2021-03-02 14:11:24 +03:00
Peter Lawrey d322df46de Move benchmark to it's own module 2021-02-26 17:10:51 +00:00
Ivan Rakov 4b2050d07e Fixed possible int overflow when storing segmentHeaderOffset, closes https://github.com/ChronicleEnterprise/Chronicle-Map-Enterprise/issues/46 2021-02-25 17:25:31 +03:00
Ivan Rakov 5d6452af43 Add debug logging for investigating persistent map creation issues, closes https://github.com/ChronicleEnterprise/Chronicle-Map-Enterprise/issues/45 2021-02-17 23:08:20 +03: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
Rob Austin e96120e4b8 https://github.com/OpenHFT/Chronicle-Map/issues/265 added max bloat factor 2021-01-26 16:13:41 +00:00
Jerry Shea f63b619777 use Jvm.getBoolean consistently 2021-01-21 09:58:59 +11:00
Dmitry Pisklov b902b18784 Multiple fixes for ChronicleEnterprise/Chronicle-Map-Enterprise#42 2021-01-14 13:23:23 +00:00
Dmitry Pisklov e49fa38e80 cleanup 2021-01-12 14:48:22 +00:00
Per Minborg c2183f3cec Announce the existence of analytics on startup, Fix #248 2020-12-15 10:19:05 +01:00
Per Minborg 706e755237 Remove obsolete code 2020-12-15 09:27:57 +01:00
Per Minborg 932923bf83 Cleanup class JsonSerializer 2020-12-14 15:36:29 +01:00
Per Minborg d38066c3f6 Fix false warning about resource leak in JsonSerializer, Fix #245 2020-12-14 15:34:43 +01: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 b94f45378e Use TL::remove rather than TL::set(null) 2020-12-10 18:02:45 +01:00
Per Minborg 49b58862b9 Prevent arithmetic operations from overflowing, Fix #244 2020-12-10 17:38:14 +01:00
Per Minborg 18142e10cc Allow testing on mac 2020-12-10 15:53:50 +01:00
Per Minborg e0cb9c9a4f Make field final 2020-12-10 15:28:34 +01:00
Per Minborg cd2075b26c Add internal packages 2020-12-10 15:28:07 +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
Per Minborg f8657cad41 Merge branch 'master' into feature/analytics 2020-12-05 16:35:40 +01:00
Peter Lawrwy 902866f3e0 All @Deprecated members which have no comment are marked to be removed in x.22, closes https://github.com/OpenHFT/OpenHFT/issues/41 2020-12-03 08:47:57 +00:00