Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid variable length arrays and remove declarations within code | Mike Hommey | 2012-04-29 | 1 | -4/+12 |
| | | | | | | | | | | | | MSVC doesn't support C99, and building as C++ to be able to use them is dangerous, as C++ and C99 are incompatible. Introduce a VARIABLE_ARRAY macro that either uses VLA when supported, or alloca() otherwise. Note that using alloca() inside loops doesn't quite work like VLAs, thus the use of VARIABLE_ARRAY there is discouraged. It might be worth investigating ways to check whether VARIABLE_ARRAY is used in such context at runtime in debug builds and bail out if that happens. | ||||
* | Remove #includes in tests | Mike Hommey | 2012-04-22 | 1 | -6/+0 |
| | | | | | | | Since we're now including jemalloc_internal.h, all the required headers are already pulled. This will avoid having to fiddle with headers that can or can't be used with MSVC. Also, now that we use malloc_printf, we can use util.h's definition of assert instead of assert.h's. | ||||
* | Replace fprintf with malloc_printf in tests. | Mike Hommey | 2012-04-17 | 1 | -8/+2 |
| | |||||
* | Move repo contents in jemalloc/ to top level. | Jason Evans | 2011-04-01 | 1 | -0/+157 |