Commit Graph

1044 Commits

Author SHA1 Message Date
daan 12d756e7b2 fix page count of heap when absorbing 2019-06-27 13:32:44 -07:00
daan 36826a96c9 add power-of-two check to posix_memalign, pr #56 2019-06-27 13:29:00 -07:00
daan ec2a8f387b strengthen alignment check to be void* aligned 2019-06-27 13:27:53 -07:00
Daan 5dfced26c2 Merge pull request #49 from Benzodia/master
Remove underscore prefixes to match c lanuguage standard
2019-06-26 08:44:25 -07:00
Daan fcb338a21b Merge pull request #51 from Qix-/patch-1
is it -> as it
2019-06-26 08:43:02 -07:00
Qix 45b254f08d is it -> as it 2019-06-26 12:53:46 +02:00
Julian Fang c19d3a27a8 Remove underscore prefixes to match c lanuguage standard 2019-06-26 12:57:13 +08:00
daan fac0d4b409 fix passing void as argument 2019-06-25 20:06:34 -07:00
daan b3ce61c408 fix atomic statistics counter increase 2019-06-25 20:05:43 -07:00
daan 654bcd7049 Merge branch 'master' into dev 2019-06-25 19:57:45 -07:00
daan 9ba53d3e2b fix missing prototype for heap_alloc_small 2019-06-25 19:57:21 -07:00
Daan 1713c37f9d Merge pull request #28 from jserv/gcc-visibility
Avoid unnecessary symbol exposure with ELF-based systems
2019-06-25 19:54:28 -07:00
daan cae02b4676 Merge branch 'master' into dev 2019-06-25 19:45:59 -07:00
Daan 4c1d848d88 Merge pull request #38 from dscho/azure-pipelines
Set up CI (Azure Pipelines)
2019-06-25 19:43:36 -07:00
Daan f5d1170ae7 Merge pull request #41 from jedisct1/c-prototypes
fn() is not a valid C prototype
2019-06-25 19:38:44 -07:00
Daan 901413fadd Merge pull request #44 from jserv/fix-conditional-build
Correct the use of MI_DEBUG by conditional build
2019-06-25 19:35:26 -07:00
Jim Huang 47e822c70f Correct the use of MI_DEBUG by conditional build
MI_DEBUG is a macro rather than a variable.
2019-06-25 21:59:20 +08:00
Frank Denis 59a714725b Read-only strings should be const char * 2019-06-25 12:19:36 +02:00
Frank Denis 236cd2e65c fn() is not a valid C prototype 2019-06-25 12:16:36 +02:00
Johannes Schindelin b2706a05bb Set up CI with Azure Pipelines
This sets up an Azure Pipeline to build the library, publishing
the artifacts for convenience.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2019-06-25 10:24:44 +02:00
Jim Huang 256eb97849 Avoid unnecessary symbol exposure with ELF-based systems
GCC's default visibility is "public" but can be changed to
"hidden" with the argument "-fvisibility=hidden".

Tested with x86_64 / Ubuntu Linux 18.04 LTS:

[before]
$ nm -g -C libmimalloc.so | grep "T " | wc -l
142

[after]
$ nm -g -C libmimalloc.so | grep "T " | wc -l
93

This patch does not change the build on macOS.
2019-06-25 10:00:22 +08:00
daan c6c1d5fffd update docs to new MI_ prefixed build options 2019-06-24 19:00:16 -07:00
daan 4ea0e2b4ba Merge branch 'master' into dev 2019-06-24 18:54:27 -07:00
daan 91cb4cee8a use MI_ prefix for all options to better support subdirectory cmake, issue #3 2019-06-24 18:54:03 -07:00
Daan 30b8624d6e Merge pull request #22 from myd7349/win32-cmake-patch
Fix CMake configuration on Windows
2019-06-24 18:19:49 -07:00