History log of /external/jemalloc/test/unit/decay.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8f61fdedb908c29905103b22dda32ceb29cd8ede 28-Oct-2016 Jason Evans <jasone@canonware.com> Uniformly cast mallctl[bymib]() oldp/newp arguments to (void *).

This avoids warnings in some cases, and is otherwise generally good
hygiene.
/external/jemalloc/test/unit/decay.c
a14712b4b87df5aa95446f91832ea4846a8f1475 12-Oct-2016 Jason Evans <jasone@canonware.com> Fix decay tests to all adapt to nstime_monotonic().
/external/jemalloc/test/unit/decay.c
45a5bf677299eb152c3c47836bd5d946234ce40e 11-Oct-2016 Jason Evans <jasone@canonware.com> Do not advance decay epoch when time goes backwards.

Instead, move the epoch backward in time. Additionally, add
nstime_monotonic() and use it in debug builds to assert that time only
goes backward if nstime_update() is using a non-monotonic time source.
/external/jemalloc/test/unit/decay.c
7d3055432d303f114d15f67c60bdebcbb4dbd39a 28-Feb-2016 Jason Evans <jasone@canonware.com> Fix decay tests for --disable-tcache case.
/external/jemalloc/test/unit/decay.c
fd4858225b84c12e071eeeaea1fa1bce8731e409 28-Feb-2016 Jason Evans <jasone@canonware.com> Fix decay tests for --disable-stats case.
/external/jemalloc/test/unit/decay.c
9bad07903962962de9f656d281b9b1e7e9501c87 21-Feb-2016 Jason Evans <jasone@canonware.com> Refactor time_* into nstime_*.

Use a single uint64_t in nstime_t to store nanoseconds rather than using
struct timespec. This reduces fragility around conversions between long
and uint64_t, especially missing casts that only cause problems on
32-bit platforms.
/external/jemalloc/test/unit/decay.c
9f24c944744e91d0cfe1864287ca7a52c16598fa 20-Feb-2016 Jason Evans <jasone@canonware.com> Increase test coverage in test_decay_ticks.
/external/jemalloc/test/unit/decay.c
243f7a0508bb014c2a7bf592c466a923911db234 20-Feb-2016 Jason Evans <jasone@canonware.com> Implement decay-based unused dirty page purging.

This is an alternative to the existing ratio-based unused dirty page
purging, and is intended to eventually become the sole purging
mechanism.

Add mallctls:
- opt.purge
- opt.decay_time
- arena.<i>.decay
- arena.<i>.decay_time
- arenas.decay_time
- stats.arenas.<i>.decay_time

This resolves #325.
/external/jemalloc/test/unit/decay.c