Dmitry Pisklov
89b0b6b163
Merge pull request #159 from udaysagar2177/fix2
...
add pre-shutdown action to be executed inside ChronicleHashCloseOnExitHook
2018-09-26 11:23:10 +01:00
udaysagar2177
9eed0e3265
add pre-shutdown action to be executed inside ChronicleHashCloseOnExitHook.
...
This is useful when we want to do an orderly shutdown.
For example: To carry out graceful shutdown and explicitly control when a ChronicleHash
is closed, a pre-shutdown action can be a wait on a CountDownLatch that would be released
appropriately.
2018-09-21 00:36:04 -07:00
Roman Leventov
502c6b701d
Merge pull request #160 from OpenHFT/new-license
...
Change the license to Apache 2.0
2018-09-14 18:37:12 +03:00
Peter Lawrey
6c3e0cbbb5
removed assume not ARM.
2018-09-14 15:09:17 +01:00
Dmitry Pisklov
57dfb00834
Merge branch 'master' into new-license
2018-09-14 13:31:40 +01:00
Dmitry Pisklov
1e1a086ea9
Change of license - update headers
2018-09-14 13:27:49 +01:00
peter lawrey
b413c026ee
Added ARM support for UnsafeMemory, https://github.com/OpenHFT/OpenHFT/issues/23
2018-09-14 11:26:13 +00:00
Peter Lawrey
ccb6577c3d
Make test less likely to fail on TeamCity
2018-09-11 10:41:05 +01:00
udaysagar2177
05573294d4
fix ExitHookTest: map should be closed by ChronicleHashCloseOnExitHook
...
Also adds an assert statement to check this test's other process exit code.
2018-09-09 22:20:45 -07:00
Tom Shercliff
ad40e7c40f
fix broken unit test on windows - map builder requires keysize
2018-07-10 09:57:15 +01:00
Peter Lawrey
526fe29993
Merge remote-tracking branch 'origin/master'
2018-06-05 11:33:39 +01:00
Peter Lawrey
be351fc856
Add a test case for externalizable
2018-06-05 11:32:48 +01:00
Rob Austin
979c48f63d
https://github.com/OpenHFT/Chronicle-Map/issues/153 added @ignore as failing in TC
2018-05-23 11:25:03 +01:00
Peter Lawrey
93e6626e45
#151 BytesMarshallable and interface value classes not supported.
2018-04-30 16:29:21 +01:00
Peter Lawrey
16399bea7e
Zero allocation hashing v0.8
2018-04-27 12:53:06 +01:00
Paweł Dąbrowski
f2064f4db4
re OpenHFT/Chronicle-Map#134 Reflection based access to Cleaner compatible with 8 and 9+ JDKs.
2018-04-23 17:33:43 +02:00
Peter Lawrey
9323cf28a7
Standard code formatting
2018-04-21 10:49:49 +01:00
Peter Lawrey
8027aebc22
#145 added a test for handling a recycled array of AbstractBytesMarshallable
2018-02-18 10:01:24 +00:00
Peter Lawrey
d6551a5f8c
#144 added a test for handling a recycled array of AbstractBytesMarshallable
2018-02-18 09:57:59 +00:00
Peter Lawrey
7ebb6a3569
#144 replace Double[] with double[]
2018-02-18 08:57:39 +00:00
jtang
36e59025c0
add array value class test
2018-02-17 22:49:03 -08:00
epickrram
f1d7f0277c
add test description and enable
2017-12-11 12:07:56 +00:00
epickrram
fdcca49b95
remove debug logging from test
2017-12-11 11:59:41 +00:00
Rob Austin
7b02b39c06
added @Ignore
2017-11-21 13:09:11 +00:00
epickrram
4f87e9c1a7
add debugging
2017-11-08 14:38:37 +00:00
epickrram
8f0dd3d875
update bom version, add test for BytesMarshallable key/values
2017-10-11 14:44:59 +01:00
Peter Lawrey
0c0349bdc3
peter => Peter Lawrey
2017-09-08 17:04:08 +01:00
epickrram
f058c5a9b4
promote replication builder attribute
2017-07-11 13:53:59 +01:00
epickrram
b9737de37f
fix replication test
2017-07-11 12:00:45 +01:00
epickrram
0201c6ae2c
remove comments
2017-07-10 11:11:02 +01:00
epickrram
ef3e0bbe69
allow Byteable instances that have maxSize() determined at runtime
2017-07-10 10:27:40 +01:00
Peter Lawrey
4b8b232f0d
chronicle-bom 1.14.28-SNAPSHOT for all modules
2017-07-01 10:27:43 +01:00
Peter Lawrey
ed8361b5cf
Add a fix for enums being written as marshallables.
2017-06-04 14:01:48 +01:00
leventov
7f3cca96d2
Add ChronicleHashCorruption listening interface, and Beta annotation
2017-02-26 21:02:34 -06:00
leventov
0cf26fb9b6
Fix CHMUseCasesTest.testStringValueStringValueMap()
2017-02-26 17:34:38 -06:00
leventov
c90e065e71
Ensure compatibility with 3.12 and Chronicle Maps created with Integer key, add ChronicleMap3_12IntegerKeyCompatibilityTest
2017-02-19 17:20:09 -06:00
leventov
d31d974e2e
Update to chronicle-algorithms 1.1.8 with a bug fix and add NegativeIntegerKeyTest
2017-02-18 15:02:52 -06:00
Sebastian Kürten
7358f84b8c
Fix a few Javadoc typos
2017-01-31 14:19:28 +01:00
leventov
75b91a4142
Update Chronicle-Values dependency and add a test for #110
2017-01-21 15:57:05 -06:00
leventov
c07ffc3d8f
Disable MemoryLeaksTest.testChronicleMapCollectedAndDirectMemoryReleased() on Unix
2017-01-07 19:14:56 +08:00
leventov
842064dca5
Clean serializers and ThreadLocal fields of VanillaChronicleMap on close()
2016-12-27 15:50:24 +08:00
leventov
fa70e216bd
Improvements to ChronicleMap resource closing subsystem, making it more robust in exotic scenarios (OutOfMemoryError, StackOverflowError) and be able to close after incorrect attempt to close when a context is open in the same thread
2016-12-26 14:27:32 +08:00
leventov
ef50f480de
Rename MemoryResourcesTest to MemoryLeaksTest and track ChronicleMap's contexts leaks in it
2016-12-10 23:19:43 -06:00
leventov
d3a968bd31
Suppress MemoryResourcesTest on Mac
2016-12-10 21:03:20 -06:00
leventov
e0b534af23
Move all ChronicleMap closing logic into independent ChronicleHashResources. Reference contexts from ThreadLocals via ContextHolders and clear references to contexts on closing ChronicleMap. Make some closing procedures more paranoid than they were. Cache ChronicleMap's identityString and always return the same String from toIdentityString(). Add Throwables.returnOrSuppress().
2016-12-10 21:03:20 -06:00
leventov
e14cbe262b
Disable testChronicleMapCollectedAndDirectMemoryReleased() on Linux
2016-11-20 20:06:13 -06:00
leventov
1f7a928af4
Fix testChronicleMapCollectedAndDirectMemoryReleased()
2016-11-20 19:37:51 -06:00
leventov
a26b19d5c7
Generate extra garbage in MemoryResourcesTest to trigger GC
2016-11-20 18:52:38 -06:00
leventov
90b538ba64
Use random file names in tests of persisted maps to avoid inference
2016-11-20 18:31:44 -06:00
leventov
0f6d37ae24
Add ExitHookTest
2016-11-19 20:27:21 -06:00