History log of /external/jemalloc/include/jemalloc/internal/atomic.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
83e5767ee9a8c68150cca06ae0d27a13ba4fcaf8 22-Apr-2015 Christopher Ferris <cferris@google.com> Revert "Revert "Merge remote-tracking branch 'aosp/upstream-dev' into merge""

This reverts commit 75929a97332565c3b987986f35652b6d5d275d3c.

The original failure this was reverted for seems to have been a bug somewhere else.

Change-Id: Ib29ba03b1b967f940dc19eceac2aa1d2923be1eb
/external/jemalloc/include/jemalloc/internal/atomic.h
75929a97332565c3b987986f35652b6d5d275d3c 16-Apr-2015 Nicolas Geoffray <ngeoffray@google.com> Revert "Merge remote-tracking branch 'aosp/upstream-dev' into merge"

Revert due to random ART crashes seen.

This reverts commit 5b5d97b42e84c2ac417271c3fab6fc282496a335.

Change-Id: I62a784301fded7ee853b182d172be46bb32bded7
/external/jemalloc/include/jemalloc/internal/atomic.h
c9db461ffb608ad32aed0e34663ae58a992e1003 16-Mar-2015 Mike Hommey <mh@glandium.org> Use InterlockedCompareExchange instead of non-existing InterlockedCompareExchange32
/external/jemalloc/include/jemalloc/internal/atomic.h
cbf3a6d70371d2390b8b0e76814e04cc6088002c 11-Feb-2015 Jason Evans <jasone@canonware.com> Move centralized chunk management into arenas.

Migrate all centralized data structures related to huge allocations and
recyclable chunks into arena_t, so that each arena can manage huge
allocations and recyclable virtual memory completely independently of
other arenas.

Add chunk node caching to arenas, in order to avoid contention on the
base allocator.

Use chunks_rtree to look up huge allocations rather than a red-black
tree. Maintain a per arena unsorted list of huge allocations (which
will be needed to enumerate huge allocations during arena reset).

Remove the --enable-ivsalloc option, make ivsalloc() always available,
and use it for size queries if --enable-debug is enabled. The only
practical implications to this removal are that 1) ivsalloc() is now
always available during live debugging (and the underlying radix tree is
available during core-based debugging), and 2) size query validation can
no longer be enabled independent of --enable-debug.

Remove the stats.chunks.{current,total,high} mallctls, and replace their
underlying statistics with simpler atomically updated counters used
exclusively for gdump triggering. These statistics are no longer very
useful because each arena manages chunks independently, and per arena
statistics provide similar information.

Simplify chunk synchronization code, now that base chunk allocation
cannot cause recursive lock acquisition.
/external/jemalloc/include/jemalloc/internal/atomic.h
051eae8cc591dfa2955cbfa73aae79ab53620c08 11-Feb-2015 Jason Evans <je@fb.com> Remove unnecessary xchg* lock prefixes.
/external/jemalloc/include/jemalloc/internal/atomic.h
a55dfa4b0af68f372782e130031483ad73cf7eec 02-Feb-2015 Jason Evans <je@fb.com> Implement more atomic operations.

- atomic_*_p().
- atomic_cas_*().
- atomic_write_*().
/external/jemalloc/include/jemalloc/internal/atomic.h
59cd80e6c6e36c26a880e86f6cde9f71808b256c 06-Dec-2014 Chih-hung Hsieh <chh@google.com> Add a C11 atomics-based implementation of atomic.h API.
/external/jemalloc/include/jemalloc/internal/atomic.h
a18c2b1f152b4334474ed32fc46d762d4fa54c2b 06-Dec-2014 Jason Evans <jasone@canonware.com> Style fixes.
/external/jemalloc/include/jemalloc/internal/atomic.h
a2ea54c98640eafc5bb256fa4369d5553499ac81 07-Aug-2014 Jason Evans <je@fb.com> Add atomic operations tests and fix latent bugs.
/external/jemalloc/include/jemalloc/internal/atomic.h
fd97b1dfc76647c3f90f28dc63cc987041fe20df 30-Apr-2012 Mike Hommey <mh@glandium.org> Add support for MSVC

Tested with MSVC 8 32 and 64 bits.
/external/jemalloc/include/jemalloc/internal/atomic.h
b57d3ec571c6551231be62b7bf92c084a8c8291c 17-Apr-2012 Jason Evans <jasone@canonware.com> Add atomic(9) implementations of atomic operations.

Add atomic(9) implementations of atomic operations. These are used on
FreeBSD for non-x86 architectures.
/external/jemalloc/include/jemalloc/internal/atomic.h
c1e567bda042d94159026b96e7a77683606037fa 26-Mar-2012 Mike Hommey <mh@glandium.org> Use __sync_add_and_fetch and __sync_sub_and_fetch when they are available

These functions may be available as inlines or as libgcc functions. In the
former case, a __GCC_HAVE_SYNC_COMPARE_AND_SWAP_n macro is defined. But we
still want to use these functions in the latter case, when we don't have
our own implementation.
/external/jemalloc/include/jemalloc/internal/atomic.h
6da5418ded9170b087c35960e0010006430117c1 24-Mar-2012 Jason Evans <je@fb.com> Remove ephemeral mutexes.

Remove ephemeral mutexes from the prof machinery, and remove
malloc_mutex_destroy(). This simplifies mutex management on systems
that call malloc()/free() inside pthread_mutex_{create,destroy}().

Add atomic_*_u() for operation on unsigned values.

Fix prof_printf() to call malloc_vsnprintf() rather than
malloc_snprintf().
/external/jemalloc/include/jemalloc/internal/atomic.h
06304a97854dbbf09075278fe2c90365254480da 24-Mar-2012 Jason Evans <jasone@canonware.com> Restructure atomic_*_z().

Restructure atomic_*_z() so that no casting within macros is necessary.
This avoids warnings when compiling with clang.
/external/jemalloc/include/jemalloc/internal/atomic.h
3492daf1ce6fb85040d28dfd4dcb51cbf6b0da51 05-Mar-2012 Jason Evans <je@fb.com> Add SH4 and mips architecture support.

Submitted by Andreas Vinsander.
/external/jemalloc/include/jemalloc/internal/atomic.h
b172610317babc7f365584ddd7fdaf4eb8d9d04c 29-Feb-2012 Jason Evans <je@fb.com> Simplify small size class infrastructure.

Program-generate small size class tables for all valid combinations of
LG_TINY_MIN, LG_QUANTUM, and PAGE_SHIFT. Use the appropriate table to generate
all relevant data structures, and remove the distinction between
tiny/quantum/cacheline/subpage bins.

Remove --enable-dynamic-page-shift. This option didn't prove useful in
practice, and it prevented optimizations.

Add Tilera architecture support.
/external/jemalloc/include/jemalloc/internal/atomic.h
7427525c28d58c423a68930160e3b0fe577fe953 01-Apr-2011 Jason Evans <jasone@canonware.com> Move repo contents in jemalloc/ to top level.
/external/jemalloc/include/jemalloc/internal/atomic.h