Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Update to 4.5.0 #17

Closed
wants to merge 749 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
749 commits
Select commit Hold shift + click to select a range
e025c51
Update ChangeLog.
jasone Feb 28, 2016
e270a8f
Make test_threads more generic
rustyx Feb 27, 2016
3a34261
Update ChangeLog for 4.1.0.
jasone Feb 28, 2016
df900db
Merge branch 'dev'
jasone Feb 28, 2016
994da42
Update copyright dates for 2016.
jasone Feb 28, 2016
86478b2
Remove errno overrides.
yuslepukhin Feb 27, 2016
0e1d5c2
Fix MSVC project and improve MSVC lib naming (v140 -> vc140)
rustyx Feb 29, 2016
33184bf
Fix stack corruption and uninitialized var warning
yuslepukhin Feb 29, 2016
022f689
Avoid a potential innocuous compiler warning.
jasone Mar 3, 2016
e3998c6
Replace contributor name with github account.
Mar 8, 2016
6bafa66
Pairing heap
Feb 29, 2016
34dca56
Unittest for pairing heap
Feb 29, 2016
f8d80d6
Refactor ph_merge_ordered() out of ph_merge().
Mar 8, 2016
4a0dbb5
Use pairing heap for arena->runs_avail
Feb 29, 2016
613cdc8
Convert arena_bin_t's runs from a tree to a heap.
Mar 8, 2016
ca18f28
typecast address to pointer to byte to avoid unaligned memory access …
Mar 11, 2016
824b947
Add (size_t) casts to MALLOCX_ALIGN().
Mar 11, 2016
434ea64
Add --with-version.
Mar 15, 2016
22af74e
Refactor out signed/unsigned comparisons.
Mar 15, 2016
18903c5
Enable -Wsign-compare warnings.
cpeterso Mar 15, 2016
6c460ad
Optimize rtree_get().
jasone Mar 23, 2016
6a88519
Always inline performance-critical rtree operations.
jasone Mar 23, 2016
f6bd2e5
Code formatting fixes.
jasone Mar 23, 2016
61a6dfc
Constify various internal arena APIs.
jasone Mar 23, 2016
ff63dca
Avoid blindly enabling assertions for header code when testing.
jasone Mar 23, 2016
232b13d
Fix MSVC project
rustyx Mar 23, 2016
af3184c
Use abort() for fallback implementations of unreachable().
jasone Mar 24, 2016
f306028
Remove unused arenas_extend() function declaration.
cpeterso Mar 26, 2016
0bc716a
Fix -Wunreachable-code warning in malloc_vsnprintf().
cpeterso Mar 26, 2016
ce7c0f9
Fix potential chunk leaks.
Mar 31, 2016
f86bc08
Update a comment.
Mar 31, 2016
a82070e
Add JEMALLOC_ALLOC_JUNK and JEMALLOC_FREE_JUNK macros
cpeterso Mar 28, 2016
b582d2a
Update implementation details docs re: PTRDIFF_MAX.
Mar 31, 2016
a3c4193
Fix a compilation warning in the ph test code.
jasone Apr 5, 2016
4a8abbb
Fix bitmap_sfu() regression.
jasone Apr 6, 2016
2ee2f1e
Reduce differences between alternative bitmap implementations.
jasone Apr 6, 2016
c6a2c39
Refactor/fix ph.
jasone Mar 27, 2016
96aa67a
Clean up char vs. uint8_t in junk filling code.
jasone Apr 4, 2016
245ae60
Support --with-lg-page values larger than actual page size.
jasone Apr 6, 2016
667eca2
Simplify RTREE_HEIGHT_MAX definition.
jasone Apr 6, 2016
e764271
Fix malloc_stats_print() to print correct opt.narenas value.
jasone Apr 12, 2016
bc26d7d
Cleanup MSVC project, embed PDB data inside static .lib
rustyx Apr 12, 2016
0043233
Fix 64-to-32 conversion warnings in 32-bit mode
rustyx Apr 12, 2016
bab58ef
Fix more 64-to-32 conversion warnings.
jasone Apr 12, 2016
8413463
Fix a style nit.
Apr 13, 2016
b2c0d63
Add witness, a simple online locking validator.
jasone Apr 14, 2016
a15841c
Fix a compilation error.
jasone Apr 14, 2016
2288424
s/MALLOC_MUTEX_RANK_OMIT/WITNESS_RANK_OMIT/
jasone Apr 14, 2016
d9394d0
Convert base_mtx locking protocol comments to assertions.
jasone Apr 17, 2016
1b58301
Fix malloc_mutex_[un]lock() to conditionally check witness.
jasone Apr 17, 2016
1423ee9
Fix style nits.
jasone Apr 17, 2016
a0c632c
Update private_symbols.txt
rajatgoel Apr 18, 2016
ab0cfe0
Update private_symbols.txt.
jasone Apr 18, 2016
b6e07d2
Fix malloc_mutex_assert_[not_]owner() for --enable-lazy-lock case.
jasone Apr 18, 2016
eb68842
Doc typo fixes.
hitstergtd Apr 18, 2016
c9a4bf9
Reduce a variable scope.
jasone Apr 22, 2016
66cd953
Do not allocate metadata via non-auto arenas, nor tcaches.
jasone Apr 22, 2016
19ff2ce
Implement the arena.<i>.reset mallctl.
jasone Apr 22, 2016
71d9482
Fix degenerate mb_write() compilation error.
jasone Apr 23, 2016
259f8eb
Fix arena_choose_hard() regression.
jasone Apr 23, 2016
2fe64d2
Fix arena_reset() test to avoid tcache.
Apr 25, 2016
7e67495
Fix arena reset effects on large/huge stats.
Apr 25, 2016
0d970a0
Use separate arena for chunk tests.
Apr 26, 2016
174c0c3
Fix fork()-related lock rank ordering reversals.
jasone Apr 26, 2016
108c4a1
Fix witness/fork() interactions.
jasone Apr 26, 2016
9aa1543
Update mallocx() OOM test to deal with smaller hugemax.
jasone May 3, 2016
61111fe
Remove errno overrides.
yuslepukhin Feb 27, 2016
7798c7a
Fix MSVC project and improve MSVC lib naming (v140 -> vc140)
rustyx Feb 29, 2016
c3ab904
Fix stack corruption and uninitialized var warning
yuslepukhin Feb 29, 2016
b40253a
typecast address to pointer to byte to avoid unaligned memory access …
Mar 11, 2016
8d8960f
Fix potential chunk leaks.
Mar 31, 2016
8c83c02
Fix bitmap_sfu() regression.
jasone Apr 6, 2016
d65db0e
Fix malloc_stats_print() to print correct opt.narenas value.
jasone Apr 12, 2016
c3b008e
Doc typo fixes.
hitstergtd Apr 18, 2016
de35328
Use separate arena for chunk tests.
Apr 26, 2016
2687a72
Fix fork()-related lock rank ordering reversals.
jasone Apr 26, 2016
1eb46ab
Don't test fork() on Windows.
jasone May 4, 2016
21cda0d
Update ChangeLog for 4.1.1.
jasone May 3, 2016
90827a3
Fix huge_palloc() regression.
jasone May 3, 2016
21e33ed
Don't test fork() on Windows.
jasone May 4, 2016
44d12d4
Update mallocx() OOM test to deal with smaller hugemax.
jasone May 3, 2016
417c0c9
Add private symbols.
jasone May 3, 2016
2e5eb21
Update ChangeLog for 4.1.1.
jasone May 3, 2016
e02b83c
Merge branch.
jasone May 4, 2016
7ba6e74
Fix a typo.
jasone May 4, 2016
c1e9cf4
Link against librt for clock_gettime(2) if glibc < 2.17.
jasone May 4, 2016
04c3c0f
Add the stats.retained and stats.arenas.<i>.retained statistics.
jasone May 4, 2016
dc391ad
Scale leak report summary according to sampling probability.
jasone May 4, 2016
c2f970c
Modify pages_map() to support mapping uncommitted virtual memory.
jasone May 6, 2016
3ef51d7
Optimize the fast paths of calloc() and [m,d,sd]allocx().
jasone May 6, 2016
1326010
Update private_symbols.txt.
jasone May 6, 2016
62c217e
Update ChangeLog.
jasone May 6, 2016
919e4a0
Add LG_QUANTUM definition for the RISC-V architecture.
jasone May 7, 2016
0c12dca
Fix tsd bootstrapping for a0malloc().
jasone May 7, 2016
c1e00ef
Resolve bootstrapping issues when embedded in FreeBSD libc.
jasone May 11, 2016
3a9ec67
Disable junk filling for tests that could otherwise easily OOM.
jasone May 11, 2016
7790a0b
Fix chunk accounting related to triggering gdump profiles.
jasone May 11, 2016
73d3d58
Optimize witness fast path.
jasone May 11, 2016
0fc1317
Mangle tested functions as n_witness_* rather than witness_*_impl.
jasone May 11, 2016
1c35f63
Guard tsdn_tsd() call with tsdn_null() check.
jasone May 11, 2016
09f8585
Update ChangeLog for 4.2.0.
jasone May 12, 2016
f70a254
Merge branch 'dev'
jasone May 12, 2016
09d7bdb
Propagate tsdn to default chunk hooks.
jasone Jun 7, 2016
48384dc
Fix mixed decl in nstime.c
ronawho May 27, 2016
05a9e4a
Fix potential VM map fragmentation regression.
jasone Jun 7, 2016
9de0094
Fix a Valgrind regression in calloc().
ronawho Jun 7, 2016
c7d5298
Fix a Valgrind regression in chunk_alloc_wrapper().
ronawho Jun 7, 2016
a7fdcc8
Fix opt_zero-triggered in-place huge reallocation zeroing.
jasone May 18, 2016
20cd2de
Add a missing prof_alloc_rollback() call.
jasone Jun 1, 2016
fa09fe7
Fix rallocx() sampling code to not eagerly commit sampler update.
jasone Jun 1, 2016
5271b67
Update ChangeLog for 4.2.1.
jasone Jun 7, 2016
3de0353
Merge branch.
jasone Jun 8, 2016
9ebbfca
Change html manual encoding to UTF-8.
jasone Sep 12, 2016
57ed894
Fix arena_bind().
interwq Sep 22, 2016
a6a8e40
Fix a valgrind regression in chunk_recycle()
ronawho Jun 10, 2016
d1207f0
Check for __builtin_unreachable at configure time
ronawho Jun 17, 2016
38a96f0
Fix a bug in __builtin_unreachable configure check
ronawho Jul 12, 2016
11b5da7
Change how the default zone is found
glandium Jul 8, 2016
57cddff
Formatting fixes.
jasone Sep 26, 2016
50a865e
Work around a weird pgi bug in test/unit/math.c
ronawho Jun 8, 2016
5acef86
Don't use compact red-black trees with the pgi compiler
ronawho Jun 8, 2016
3573fb9
Add -dynamic for integration and stress tests with Cray compiler wrap…
ronawho Jun 14, 2016
b770d2d
Fix librt detection when using a Cray compiler wrapper
ronawho Jun 14, 2016
8701bc7
Add initial support for building with the cray compiler
ronawho Jun 14, 2016
1d42a99
Disable automatic dependency generation for the Cray compiler
ronawho Jun 14, 2016
4b52518
Add Cray compiler's equivalent of -Werror before __attribute__ checks
ronawho Jun 14, 2016
c128167
Disable irrelevant Cray compiler warnings if cc-silence is enabled
ronawho Jul 7, 2016
b54c0c2
Fix LG_QUANTUM definition for sparc64
elebihan Jul 14, 2016
15da5f5
Readme.txt error for building in the Windows
ShuangxueBai Aug 28, 2016
92009b1
use install command determined by configure
tkoecker Sep 7, 2016
43d4d7c
Add Travis-CI configuration
glandium Jun 9, 2016
3bb044c
Add an AppVeyor config
glandium Jun 9, 2016
79647fe
Close file descriptor after reading "/proc/sys/vm/overcommit_memory".
jasone Sep 26, 2016
af33e9a
Define 64-bits atomics unconditionally
glandium Jun 9, 2016
c19b48f
Fix a typo.
jasone May 12, 2016
bcd5424
Use TSDN_NULL rather than NULL as appropriate.
jasone May 13, 2016
1abb49f
Implement pz2ind(), pind2sz(), and psz2u().
jasone Apr 17, 2016
f193fd8
Refactor runs_avail.
jasone Apr 8, 2016
5d8db15
Simplify run quantization.
jasone Apr 8, 2016
b732c39
Refine nstime_update().
jasone Oct 7, 2016
94e7ffa
Refactor arena->decay_* into arena->decay.* (arena_decay_t).
jasone Oct 11, 2016
45a5bf6
Do not advance decay epoch when time goes backwards.
jasone Oct 11, 2016
a14712b
Fix decay tests to all adapt to nstime_monotonic().
jasone Oct 11, 2016
d419bb0
Fix and simplify decay-based purging.
jasone Oct 11, 2016
a2539fa
Disallow 0x5a junk filling when running in Valgrind.
jasone Oct 13, 2016
9737685
Add/use adaptive spinning.
jasone Oct 13, 2016
e2bcf03
Make dss operations lockless.
jasone Oct 13, 2016
962a297
Do not (recursively) allocate within tsd_fetch().
jasone Oct 21, 2016
5569b4a
Use --whole-archive when linking integration tests on MinGW.
jasone Oct 26, 2016
dc553d5
Fix over-sized allocation of rtree leaf nodes.
jasone Oct 28, 2016
1eb801b
Do not force lazy lock on Windows.
jasone Oct 27, 2016
875ff15
Only use --whole-archive with gcc.
jasone Oct 28, 2016
e7d6779
Only link with libm (-lm) if necessary.
jasone Oct 28, 2016
2c53faf
Periodically purge in memory-intensive integration tests.
jasone Oct 28, 2016
eaecaad
Periodically purge in memory-intensive integration tests.
jasone Oct 28, 2016
b99c72f
Reduce memory requirements for regression tests.
jasone Oct 28, 2016
ed84764
Support static linking of jemalloc with glibc
Oct 28, 2016
35799a5
Do not mark malloc_conf as weak for unit tests.
jasone Oct 29, 2016
e46f8f9
Do not mark malloc_conf as weak on Windows.
jasone Oct 29, 2016
35a108c
Fix EXTRA_CFLAGS to not affect configuration.
jasone Oct 30, 2016
c443b67
Use syscall(2) rather than {open,read,close}(2) during boot.
jasone Oct 30, 2016
1d57c03
Use CLOCK_MONOTONIC_COARSE rather than COARSE_MONOTONIC_RAW.
jasone Oct 30, 2016
4752a54
Refactor witness_unlock() to fix undefined test behavior.
jasone Oct 31, 2016
b599b32
Add "J" (JSON) support to malloc_stats_print().
jasone Nov 1, 2016
f19bedb
Use <quote>...</quote> rather than &ldquo;...&rdquo; or "..." in XML.
jasone Nov 1, 2016
07ee4c5
Force no lazy-lock on Windows.
jasone Nov 2, 2016
31db315
Call _exit(2) rather than exit(3) in forked child.
jasone Nov 3, 2016
a99e0fa
Fix/refactor zone allocator integration code.
jasone Nov 3, 2016
3f2b8d9
Add os_unfair_lock support.
jasone Nov 3, 2016
da206df
Do not use syscall(2) on OS X 10.12 (deprecated).
jasone Nov 3, 2016
eca3bc0
Fix sycall(2) configure test for Linux.
jasone Nov 3, 2016
6c56e19
Check for existance of CPU_COUNT macro before using it.
Nov 3, 2016
62de768
Update project URL.
jasone Sep 12, 2016
1ceae2f
Update ChangeLog for 4.3.0.
jasone Nov 3, 2016
dd3ed23
Update symbol mangling.
jasone Nov 3, 2016
e901263
Fix chunk_alloc_cache() to support decommitted allocation.
jasone Nov 4, 2016
32896a9
Fix large allocation to search optimal size class heap.
jasone Nov 4, 2016
213667f
Update ChangeLog for 4.3.0.
jasone Nov 4, 2016
cb3ad65
Use -std=gnu11 if available.
jasone Nov 4, 2016
77635bf
Fixes to Visual Studio Project files
mjp41 Nov 4, 2016
28b7e42
Fix arena data structure size calculation.
jasone Nov 4, 2016
23f04ef
Update ChangeLog for 4.3.0.
jasone Nov 4, 2016
8019f4c
Merge branch 'rel-4.3.0'
jasone Nov 5, 2016
9bef119
Merge branch 'rel-4.3.0'
jasone Nov 5, 2016
a4e83e8
Fix run leak.
jasone Nov 7, 2016
5d6cb6e
Refactor prng to not use 64-bit atomics on 32-bit platforms.
jasone Nov 7, 2016
7b8e74f
Revert "Define 64-bits atomics unconditionally"
jasone Nov 7, 2016
b0f5658
Update ChangeLog for 4.3.1.
jasone Nov 8, 2016
0110fa8
Merge branch 'rc-4.3.1'
jasone Nov 8, 2016
b4486dc
Update config.{guess,sub} from upstream.
jasone Nov 10, 2016
092d760
Support Debian GNU/kFreeBSD.
thesam Jul 25, 2016
e916d55
Add configure support for *-*-linux-android.
jasone Nov 10, 2016
2cdf07a
Fix extent_quantize() to handle greater-than-huge-size extents.
jasone Nov 12, 2016
b9408d7
Fix/simplify chunk_recycle() allocation size computations.
jasone Nov 12, 2016
a2af09f
Remove overly restrictive stats_cactive_{add,sub}() assertions.
jasone Nov 12, 2016
1aeea0f
Simplify extent_quantize().
jasone Nov 12, 2016
ded4f38
Reduce memory usage for sdallocx() test_alignment_and_size.
jasone Nov 12, 2016
45f83a2
Add JE_RUNNABLE() and use it for os_unfair_lock_*() test.
jasone Nov 12, 2016
5c77af9
Add extent serial numbers.
jasone Nov 15, 2016
6a71d37
Add packing test, which verifies stable layout policy.
jasone Nov 15, 2016
2379479
Consistently use size_t rather than uint64_t for extent serial numbers.
jasone Nov 15, 2016
87004d2
Avoid negation of unsigned numbers.
jasone Oct 28, 2016
72c587a
Add cast to silence (harmless) conversion warning.
jasone Oct 28, 2016
84ae603
Explicitly cast negative constants meant for use as unsigned.
jasone Oct 28, 2016
8f61fde
Uniformly cast mallctl[bymib]() oldp/newp arguments to (void *).
jasone Oct 28, 2016
6468dd5
Fix an MSVC compiler warning.
jasone Nov 16, 2016
2a24dc2
Revert "Add JE_RUNNABLE() and use it for os_unfair_lock_*() test."
jasone Nov 16, 2016
8e3fb7f
Document how to use --cache configure option.
jasone Nov 16, 2016
3ea838d
Avoid gcc type-limits warnings.
jasone Nov 17, 2016
0d6a472
Avoid gcc tautological-compare warnings.
jasone Nov 17, 2016
e7ca53b
Remove a residual comment.
jasone Nov 17, 2016
62f2d84
Refactor madvise(2) configuration.
jasone Nov 17, 2016
949a27f
Add pthread_atfork(3) feature test.
jasone Nov 17, 2016
fc11f3c
Enable overriding JEMALLOC_{ALLOC,FREE}_JUNK.
jasone Nov 22, 2016
e98a620
Mark partially purged arena chunks as non-hugepage.
jasone Nov 17, 2016
a05d4da
Implement a more reliable detection scheme for os_unfair_lock.
jszakmeister Nov 23, 2016
34a7e37
Fix pages_purge() when using MADV_DONTNEED.
jasone Dec 4, 2016
e1b2970
Update configure cache file example.
jasone Nov 30, 2016
145f3cd
Add --disable-syscall.
jasone Dec 4, 2016
2d1bb89
Update ChangeLog for 4.4.0.
jasone Dec 3, 2016
f1f7635
Merge branch 'rc-4.4.0'
jasone Dec 4, 2016
9389335
Use better pre-processor defines for sparc64
glaubitz Dec 21, 2016
c68bb41
Don't rely on OSX SDK malloc/malloc.h for malloc_zone struct definitions
glandium Jan 17, 2017
c6943ac
Add dummy implementations for most remaining OSX zone allocator funct…
glandium Jan 17, 2017
dad74bd
Convert witness_assert_lockless() to witness_assert_lock_depth().
jasone Jan 21, 2017
b49c649
Fix lock order reversal during gdump.
jasone Jan 21, 2017
b973ec7
Avoid redeclaring glibc's secure_getenv
tamird Jan 24, 2017
d4f3f9a
Beef up travis CI integration testing
davidtgoldblatt Jan 25, 2017
fdba5ad
Repair file permissions.
jasone Feb 21, 2017
3ecc3c8
Fix/refactor tcaches synchronization.
jasone Jan 30, 2017
e85e588
Use MALLOC_CONF rather than malloc_conf for tests.
jasone Feb 22, 2017
44e5004
CI: Run --enable-debug builds on windows
davidtgoldblatt Feb 1, 2017
7034e6b
Enable mutex witnesses even when !isthreaded.
jasone Feb 22, 2017
f56cb9a
Add witness_assert_depth[_to_rank]().
jasone Jan 21, 2017
08c24e7
Relax witness assertions related to prof_gdump().
jasone Feb 23, 2017
adae7cf
Fix chunk_alloc_dss() regression.
jasone Feb 24, 2017
61d2642
Fix JSON-mode output for !config_stats and/or !config_prof cases.
jasone Feb 24, 2017
54d2d69
Test JSON output of malloc_stats_print() and fix bugs.
jasone Jan 18, 2017
ed19a48
Silence harmless warnings discovered via run_tests.sh.
jasone Feb 1, 2017
1e2c9ef
Fix huge-aligned allocation.
jasone Feb 26, 2017
1027a26
Add some missing explicit casts.
jasone Dec 13, 2016
7c12483
Fix lg_chunk clamping for config_cache_oblivious.
jasone Feb 27, 2017
7b53fe9
Handle race in stats_arena_bins_print
interwq Jan 30, 2017
766ddcd
restructure *CFLAGS configuration.
jasone Dec 16, 2016
d84d290
Fix/enhance THP integration.
jasone Feb 28, 2017
e723f99
Alphabetize private symbol names.
jasone Feb 28, 2017
2406c22
Add casts to CONF_HANDLE_T_U().
jasone Feb 28, 2017
700253e
Update ChangeLog for 4.5.0.
jasone Feb 28, 2017
04380e7
Merge branch 'rc-4.5.0'
jasone Mar 1, 2017
9986533
Add generated configure
arthurprs May 9, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
version: '{build}'

environment:
matrix:
- MSYSTEM: MINGW64
CPU: x86_64
MSVC: amd64
- MSYSTEM: MINGW32
CPU: i686
MSVC: x86
- MSYSTEM: MINGW64
CPU: x86_64
- MSYSTEM: MINGW32
CPU: i686
- MSYSTEM: MINGW64
CPU: x86_64
MSVC: amd64
CONFIG_FLAGS: --enable-debug
- MSYSTEM: MINGW32
CPU: i686
MSVC: x86
CONFIG_FLAGS: --enable-debug
- MSYSTEM: MINGW64
CPU: x86_64
CONFIG_FLAGS: --enable-debug
- MSYSTEM: MINGW32
CPU: i686
CONFIG_FLAGS: --enable-debug

install:
- set PATH=c:\msys64\%MSYSTEM%\bin;c:\msys64\usr\bin;%PATH%
- if defined MSVC call "c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %MSVC%
- if defined MSVC pacman --noconfirm -Rsc mingw-w64-%CPU%-gcc gcc
- pacman --noconfirm -Suy mingw-w64-%CPU%-make

build_script:
- bash -c "autoconf"
- bash -c "./configure $CONFIG_FLAGS"
- mingw32-make -j3
- file lib/jemalloc.dll
- mingw32-make -j3 tests
- mingw32-make -k check
3 changes: 3 additions & 0 deletions .autom4te.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
begin-language: "Autoconf-without-aclocal-m4"
args: --no-cache
end-language: "Autoconf-without-aclocal-m4"
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf
23 changes: 21 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*.gcov.*

/autom4te.cache/

/bin/jemalloc-config
/bin/jemalloc.sh
/bin/jeprof

/config.stamp
/config.log
Expand All @@ -15,6 +15,8 @@
/doc/jemalloc.html
/doc/jemalloc.3

/jemalloc.pc

/lib/

/Makefile
Expand All @@ -35,6 +37,7 @@
/include/jemalloc/jemalloc_protos.h
/include/jemalloc/jemalloc_protos_jet.h
/include/jemalloc/jemalloc_rename.h
/include/jemalloc/jemalloc_typedefs.h

/src/*.[od]
/src/*.gcda
Expand Down Expand Up @@ -70,3 +73,19 @@ test/include/test/jemalloc_test_defs.h
/test/unit/*.out

/VERSION

*.pdb
*.sdf
*.opendb
*.opensdf
*.cachefile
*.suo
*.user
*.sln.docstates
*.tmp
/msvc/Win32/
/msvc/x64/
/msvc/projects/*/*/Debug*/
/msvc/projects/*/*/Release*/
/msvc/projects/*/*/Win32/
/msvc/projects/*/*/x64/
95 changes: 95 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
language: generic

matrix:
include:
- os: linux
env: CC=gcc COMPILER_FLAGS="" CONFIGURE_FLAGS=""
- os: osx
env: CC=gcc COMPILER_FLAGS="" CONFIGURE_FLAGS=""
- os: linux
env: CC=clang COMPILER_FLAGS="" CONFIGURE_FLAGS=""
- os: linux
env: CC=gcc COMPILER_FLAGS="-m32" CONFIGURE_FLAGS=""
addons:
apt:
packages:
- gcc-multilib
- os: linux
env: CC=gcc COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-debug"
- os: linux
env: CC=gcc COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-prof"
- os: linux
env: CC=gcc COMPILER_FLAGS="" CONFIGURE_FLAGS="--disable-stats"
- os: linux
env: CC=gcc COMPILER_FLAGS="" CONFIGURE_FLAGS="--disable-tcache"
- os: osx
env: CC=clang COMPILER_FLAGS="" CONFIGURE_FLAGS=""
- os: osx
env: CC=gcc COMPILER_FLAGS="-m32" CONFIGURE_FLAGS=""
- os: osx
env: CC=gcc COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-debug"
- os: osx
env: CC=gcc COMPILER_FLAGS="" CONFIGURE_FLAGS="--disable-stats"
- os: osx
env: CC=gcc COMPILER_FLAGS="" CONFIGURE_FLAGS="--disable-tcache"
- os: linux
env: CC=clang COMPILER_FLAGS="-m32" CONFIGURE_FLAGS=""
addons:
apt:
packages:
- gcc-multilib
- os: linux
env: CC=clang COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-debug"
- os: linux
env: CC=clang COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-prof"
- os: linux
env: CC=clang COMPILER_FLAGS="" CONFIGURE_FLAGS="--disable-stats"
- os: linux
env: CC=clang COMPILER_FLAGS="" CONFIGURE_FLAGS="--disable-tcache"
- os: linux
env: CC=gcc COMPILER_FLAGS="-m32" CONFIGURE_FLAGS="--enable-debug"
addons:
apt:
packages:
- gcc-multilib
- os: linux
env: CC=gcc COMPILER_FLAGS="-m32" CONFIGURE_FLAGS="--enable-prof"
addons:
apt:
packages:
- gcc-multilib
- os: linux
env: CC=gcc COMPILER_FLAGS="-m32" CONFIGURE_FLAGS="--disable-stats"
addons:
apt:
packages:
- gcc-multilib
- os: linux
env: CC=gcc COMPILER_FLAGS="-m32" CONFIGURE_FLAGS="--disable-tcache"
addons:
apt:
packages:
- gcc-multilib
- os: linux
env: CC=gcc COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-debug --enable-prof"
- os: linux
env: CC=gcc COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-debug --disable-stats"
- os: linux
env: CC=gcc COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-debug --disable-tcache"
- os: linux
env: CC=gcc COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-prof --disable-stats"
- os: linux
env: CC=gcc COMPILER_FLAGS="" CONFIGURE_FLAGS="--enable-prof --disable-tcache"
- os: linux
env: CC=gcc COMPILER_FLAGS="" CONFIGURE_FLAGS="--disable-stats --disable-tcache"


before_script:
- autoconf
- ./configure ${COMPILER_FLAGS:+ CC="$CC $COMPILER_FLAGS" } $CONFIGURE_FLAGS
- make -j3
- make -j3 tests

script:
- make check

4 changes: 2 additions & 2 deletions COPYING
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Unless otherwise specified, files in the jemalloc source distribution are
subject to the following license:
--------------------------------------------------------------------------------
Copyright (C) 2002-2014 Jason Evans <jasone@canonware.com>.
Copyright (C) 2002-2016 Jason Evans <jasone@canonware.com>.
All rights reserved.
Copyright (C) 2007-2012 Mozilla Foundation. All rights reserved.
Copyright (C) 2009-2014 Facebook, Inc. All rights reserved.
Copyright (C) 2009-2016 Facebook, Inc. All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Expand Down
Loading