Rob Austin
9edac73234
addded try with resources to tests
2018-11-16 18:31:11 +00:00
Rob Austin
3a426bace4
removed redundant method
2018-11-16 17:34:39 +00:00
Rob Austin
5cb73e7dd9
fixed set the expected value size
2018-11-16 17:15:15 +00:00
Rob Austin
dbecb72115
fixed https://github.com/OpenHFT/Chronicle-Map/issues/166 removed pos+1
2018-11-16 17:07:18 +00:00
Rob Austin
79c7701a52
fixed https://github.com/OpenHFT/Chronicle-Map/issues/166 void relocation(Data<V> newValue, long newEntrySize) to void relocation(newValue, newSizeOfEverythingBeforeValue);`
2018-11-16 17:05:09 +00:00
Rob Austin
075083455e
corrected -> return (int) (sizeInBytes / chunkSize) + 1;
2018-11-15 21:27:46 +00:00
Rob Austin
9a02d8e250
change to s.freeExtra(pos+1, entrySizeInChunks, newSizeInChunks);
2018-11-15 21:17:26 +00:00
Rob Austin
2f6e9441d7
added a work around to address -> net.openhft.chronicle.map.MissSizedMapsTest
2018-11-15 18:45:27 +00:00
Rob Austin
7d078d30a4
Merge remote-tracking branch 'origin/master'
2018-11-14 17:55:14 +00:00
Rob Austin
0222f05f91
added miss sized maps test
2018-11-14 17:54:53 +00:00
Dmitry Pisklov
8cd960f25e
New DTO for #164
2018-11-06 12:32:27 +00:00
Dmitry Pisklov
1a861b65cb
Fixes #164
2018-10-31 20:29:08 +00:00
Team City
4799f744a0
TeamCity Automatic Merge from master into feature/java11
2018-10-01 11:08:49 +01:00
udaysagar2177
7b686ae152
return builder object after setting pre-shutdown action
2018-09-28 15:14:08 -07:00
Team City
f53bcb18c7
TeamCity Automatic Merge from master into feature/java11
2018-09-28 12:26:26 +01:00
Shalti
beefd88fce
refdactored the test code a little
2018-09-28 11:50:18 +03:00
Team City
48e067e9fd
TeamCity Automatic Merge from master into feature/java11
2018-09-26 11:27:14 +01:00
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
Team City
f1c28c331f
TeamCity Automatic Merge from master into feature/java11
2018-09-19 14:38:22 +01:00
Dmitry Pisklov
471d1d3931
Closeable
2018-09-19 14:35:20 +01:00
Team City
70ea1c55c0
TeamCity Automatic Merge from master into feature/java11
2018-09-18 19:18:49 +01:00
Dmitry Pisklov
0bc8b226e4
Fix for Java 9+
2018-09-18 19:15:25 +01:00
Team City
1fc92ffe45
TeamCity Automatic Merge from master into feature/java11
2018-09-14 16:47:33 +01:00
Roman Leventov
cf24d82ba2
Merge pull request #154 from Zor-X-L/fallocate
...
try to preallocate space after RandomAccessFile#setLength()
2018-09-14 18:38:05 +03: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
Dmitry Pisklov
84fc20bb41
Copy-paste mistake
2018-09-14 15:40:56 +01:00
Team City
e82f9418c8
TeamCity Automatic Merge from master into feature/java11
2018-09-14 15:19:33 +01:00
Peter Lawrey
806efd6d6e
Include the size of the checksum in the entry size.
2018-09-14 15:16:20 +01:00
Peter Lawrey
6c3e0cbbb5
removed assume not ARM.
2018-09-14 15:09:17 +01:00
Peter Lawrey
d076876265
Check for null.
2018-09-14 15:07:18 +01:00
Dmitry Pisklov
db29e11bf2
Format
2018-09-14 13:42:32 +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
337698b408
Added ARM support for UnsafeMemory, https://github.com/OpenHFT/OpenHFT/issues/23
2018-09-13 16:56:44 +01:00
Team City
5c83f6c484
TeamCity Automatic Merge from master into feature/java11
2018-09-11 10:55:58 +01: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
Team City
f7dbb48fa4
TeamCity Automatic Merge from master into feature/java11
2018-09-06 22:09:26 +01:00
Rob Austin
43a17b5606
removed -> if (localIdentifier == -1)
...
throw new IllegalStateException("localIdentifier should not be -1");
2018-09-06 22:05:51 +01:00
Team City
5da46912f6
TeamCity Automatic Merge from master into feature/java11
2018-09-06 19:13:19 +01:00
Rob Austin
914f27b588
added " public boolean tryReserve()" and some public methods to the build
2018-09-06 19:10:02 +01:00
Team City
b673b2022a
TeamCity Automatic Merge from master into feature/java11
2018-08-02 16:24:15 +01:00
Dmitry Pisklov
408db92fa4
Improve Java 11 support
2018-08-02 16:10:09 +01:00
Tom Shercliff
25ec7d7490
move to use CleanerUtils to choose correct location of Cleaner based on java version
2018-07-19 14:44:41 +01:00
Tom Shercliff
ad40e7c40f
fix broken unit test on windows - map builder requires keysize
2018-07-10 09:57:15 +01:00
Liu Xiao
b6432ef796
use OS.isLinux() instead of Platform.isLinux() for consistency
2018-07-02 09:12:01 +08:00
Liu Xiao
e78677120b
code refactoring
2018-07-02 09:00:34 +08:00
Liu Xiao
89a35a108e
try to preallocate space after RandomAccessFile#setLength()
2018-06-29 09:10:47 +08:00