Commit Graph

1044 Commits

Author SHA1 Message Date
daan b0ceb4a44c forward strdup, strndup, and realpath too 2019-07-02 15:56:01 -07:00
daan b3f533167b Merge branch 'master' into dev 2019-07-02 15:52:26 -07:00
Daan 665b7324a4 Merge pull request #61 from jserv/indent-override
Make forwarding macros friendly to indentation or style checkers
2019-07-02 15:51:42 -07:00
daan 7dc3a5a18e Merge branch 'master' into dev 2019-07-02 15:44:48 -07:00
daan 04b1fd7b8d Fix macro spelling 2019-07-02 12:57:12 -07:00
daan 4326bda2c7 Fix main heap cookie on macOS 2019-07-02 12:53:53 -07:00
daan aeff1db32b Fixing interpose on macOS 2019-07-02 12:49:28 -07:00
Daan 825d00a001 Merge branch 'master' into indent-override 2019-07-02 09:03:32 -07:00
Daan ea6601c9cc Merge pull request #62 from jserv/correct-linux-wording
Clarify the comment about Linux distributions
2019-07-02 09:01:24 -07:00
Daan 39956aa71f Merge pull request #64 from 4ge32/master
fix a environment variables name
2019-07-02 08:53:16 -07:00
daan d35fc6cdc4 PR#66 by kickunderscore to ensure consistent small block alignment 2019-07-02 08:46:50 -07:00
daan 06bcea1761 Initial commit of separate memory region layer and improved large OS pages support, see 'memory.c' 2019-07-02 07:23:24 -07:00
Jan Christoph Uhde 408b76d103 make includes available for projects that add mimalloc as subdirectory 2019-07-02 11:12:04 +02:00
David Carlier bed746d7d6 Using BSD new PROT_MAX mmap to block page address wider promotions 2019-07-01 06:56:16 +00:00
Fumiya Shigemitsu ed5cdba634 fix a environment variables name
Some documents explain passing MIMALLOC_STATS=1 to print
statistics, though it handles as mimalloc_show_stats in the actual
code. According to the code, change the name MIMALLOC_STATS to MIMALLOC_SHOW_STATS.
2019-06-30 14:20:23 +09:00
Jim Huang 2347a65fe0 Clarify the comment about Linux distributions
Red Hat Linux was discontinued by Red Hat in 2003. It would make sense
to address glibc-based Linux distributions rather than Red Hat Linux.

Reference: https://en.wikipedia.org/wiki/Red_Hat_Linux
2019-06-30 01:17:13 +08:00
Jim Huang 329a494783 Make forwarding macros friendly to indentation or style checkers
Indention programs such as clang-format usually rely on the occurrence
of statement terminator, otherwise they are likely confused. The revised
forwarding macros do not contain semicolons character, which is friendly
to indentation or style checkers.
2019-06-30 01:06:13 +08:00
myd7349 a5b22af7ec fix object install error 2019-06-29 21:53:47 +08:00
daan d6901558cd enable large OS page support on Windows 2019-06-28 22:35:57 -07:00
daan 6eaf387891 Add support for aligned allocation on Windows using VirtualAlloc2 2019-06-28 19:48:30 -07:00
Daan 38eb0a9449 Update readme.md
Add Azure pipelines badge
2019-06-27 13:43:23 -07:00
daan ae47a2b13e Add initial testing file, test target, and readme about testing, issue #10, pr #57 2019-06-27 13:36:19 -07:00
daan 4c87643c29 add check to see if we truly override the system malloc 2019-06-27 13:34:50 -07:00
daan d2a2508af3 fix overly restrictive assertion 2019-06-27 13:34:14 -07:00
daan 1e636c45da add check for overflowing size allocation 2019-06-27 13:33:28 -07:00