Commit graph

1706 commits

Author SHA1 Message Date
daan
d8c24ec583 merge from dev-slice 2021-12-15 08:49:27 -08:00
daan
60ca554413 Merge branch 'dev' into dev-slice 2021-12-15 08:47:00 -08:00
daan
144b4a2d3e link with libatomic automatically if found 2021-12-15 08:42:58 -08:00
daan
b7d33c2c33 fix MI_ prefix for libraries 2021-12-15 08:41:52 -08:00
daan
f24a0b1019 merge from dev 2021-12-15 08:35:15 -08:00
daan
2d9b8aa6b5 rename VER_DIR to VERSION_DIR 2021-12-15 08:33:14 -08:00
daan
6503ad7a76 check if using bcryptgenrandom fixes windows pipeline 2021-12-14 18:45:44 -08:00
daan
73ced777dd upgrade macos to latest 2021-12-14 18:42:10 -08:00
Daan
d15f5fae64 merge from dev 2021-12-14 18:29:58 -08:00
Daan
69b6b24688 further improvements to installation directories 2021-12-14 18:29:14 -08:00
Daan
1bbc184082
Merge pull request #493 from viy2/pull_request_on_dev
Pull request for issue #490:  set SOVERSION for mimalloc shared lib
2021-12-13 17:26:12 -08:00
Daan
d575aacfde use find_library for pthread (issue #496) 2021-12-13 13:10:33 -08:00
Daan
c858690dea Merge branch 'dev' of https://github.com/microsoft/mimalloc into dev 2021-12-12 10:35:19 -08:00
Daan
3a212d1895 fix assembly for mi_tls_slot_set on x32 and x64. Issue #488 2021-12-12 10:35:13 -08:00
Daan Leijen
ad6d182170 Merge branch 'dev-trace' into dev-slice-trace 2021-12-11 17:10:56 -08:00
Daan Leijen
9b8bb5b6d6 fix prototype 2021-12-11 17:10:00 -08:00
Daan
66c88eec06 Merge branch 'dev-trace' into dev-slice-trace 2021-12-10 17:31:37 -08:00
Daan
7a7a774257 better backtrace 2021-12-10 17:31:24 -08:00
Daan
72ca23d14f faster backtrace; show predecessor blocks on block overflow 2021-12-10 17:22:02 -08:00
Daan
5739714b8d faster backtrace; show predecessor blocks on block overflow 2021-12-10 17:16:37 -08:00
Daan
e3de22a067 merge dev-trace 2021-12-10 12:09:14 -08:00
Daan
b6e2b6e975 enable traces on apple 2021-12-10 12:08:41 -08:00
Daan Leijen
d86fc87fa1 merge from dev-trace 2021-12-10 11:54:41 -08:00
Daan Leijen
65b2cebcef improve stacktrace on linux 2021-12-10 11:42:54 -08:00
Daan Leijen
28893a6c1b improve padding and error messages 2021-12-10 11:09:19 -08:00
Daan Leijen
9c1945b1a4 fix test 2021-12-09 17:28:12 -08:00
Daan Leijen
be9ee3a4aa Merge branch 'dev-trace' into dev-slice-trace 2021-12-09 17:26:32 -08:00
Daan Leijen
ea75c745e1 add tracing on linux and freebsd 2021-12-09 17:26:13 -08:00
Daan Leijen
fdfdafebf5 merge from dev-slice 2021-12-09 16:24:17 -08:00
Daan Leijen
775c10da3b Merge branch 'dev' into dev-slice 2021-12-09 16:18:43 -08:00
Daan Leijen
e125c04081 Merge branch 'dev' into dev-trace 2021-12-09 16:18:28 -08:00
Daan Leijen
36edfbc70a use rtlgenrandom by default on windows 2021-12-09 16:18:17 -08:00
Daan Leijen
a7bb572176 test with dynamic override 2021-12-09 16:14:50 -08:00
Daan Leijen
36cf82dc71 merge from dev-trace 2021-12-09 16:06:24 -08:00
Daan Leijen
8c04558af8 improve padding extra 2021-12-09 16:04:22 -08:00
Daan Leijen
f18caf67d7 change padding extra to 128 2021-12-09 14:29:18 -08:00
Daan Leijen
7b69dc92a9 merge from dev-trace 2021-12-09 14:22:13 -08:00
Daan Leijen
a84df3795a add support for extra padding and backtraces 2021-12-09 14:19:41 -08:00
Igor Vlasenko
f82e13ac91 let the library VERSION = the project's one (issue #490)
This is a cross-platform usability improvement.
On Unix platforms it is customary for library to have VERSION
and SOVERSION, where SOVERSION changes on major API changes
and VERSION is the same as project's version, so library users
always know what vesion this library belongs to just by name.
With this patch we have a proper libmimalloc.so.VERSION on Unix.
2021-11-28 20:00:50 +02:00
Igor Vlasenko
acc64ee5cd added SOVERSION to mimalloc shared lib (issue #490)
This is a portability improvement.
A cross-platform library needs SOVERSION field for Unix platforms.
With SOVERSION field cmake itself will do proper management of
libmimalloc.so.SOVERSION -> libmimalloc.so.VERSION symlink on Unix,
so a piece of code that tried to emulate this behavior manually
is no more needed and is removed here too.
2021-11-28 19:59:09 +02:00
daan
67e8df6a5c Merge branch 'dev' into dev-slice 2021-11-24 12:55:07 -08:00
daan
0be71a2cac fix prefix 2021-11-24 12:54:54 -08:00
daan
5f6246b2cb merge from dev 2021-11-23 19:05:19 -08:00
daan
9183b1eec0 remove experiment with unsafe_free_with_threadid 2021-11-23 19:04:41 -08:00
daan
03526e5535 Merge branch 'dev' into dev-slice 2021-11-23 18:39:13 -08:00
daan
3548d8d716 add noinline to avoid warnings 2021-11-23 18:39:03 -08:00
daan
ef6ea7e718 merge from dev 2021-11-23 18:00:12 -08:00
daan
8b60a5ab70 add mi_unsafe_free_with_threadid and mi_get_current_threadid() 2021-11-23 17:59:27 -08:00
daan
6efd78c5e0 remove O3 flag 2021-11-15 10:52:39 -08:00
daan
4a456ba054 Merge branch 'dev' into dev-slice 2021-11-15 10:52:17 -08:00