Commit Graph

88 Commits

Author SHA256 Message Date
Dominique Leuenberger
b5de0bda9d Accepting request 975721 from devel:libraries:c_c++
- Update to release 5.3.0
  * Added the thread.idle mallctl which hints that the calling
    thread will be idle for a nontrivial period of time.
  * Allow small size classes to be the maximum size class to
    cache in the thread-specific cache, through the
    opt.[lg_]tcache_max option.
  * Make the behavior of realloc(ptr, 0) configurable with
    opt.zero_realloc.
  * Support C++17 over-aligned allocation.
  * Add the thread.peak mallctl for approximate per-thread peak
    memory tracking.
  * Add high resolution timestamp support for profiling.
- Drop use-volatile-to-workaround-buffer-overflow-false-pos.patch
  (merged)

OBS-URL: https://build.opensuse.org/request/show/975721
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jemalloc?expand=0&rev=36
2022-05-10 13:11:18 +00:00
dcb299893d - Update to release 5.3.0
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jemalloc?expand=0&rev=87
2022-05-06 21:02:20 +00:00
Dominique Leuenberger
fdd2b3fea8 Accepting request 969561 from devel:libraries:c_c++
- Add use-volatile-to-workaround-buffer-overflow-false-pos.patch
  upstream patch that supports -D_FORTIFY_SOURCE=3.

OBS-URL: https://build.opensuse.org/request/show/969561
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jemalloc?expand=0&rev=35
2022-04-15 22:13:25 +00:00
Martin Liška
3afa87d11b - Add use-volatile-to-workaround-buffer-overflow-false-pos.patch
upstream patch that supports -D_FORTIFY_SOURCE=3.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jemalloc?expand=0&rev=85
2022-04-12 20:21:26 +00:00
Dominique Leuenberger
61e492167b Accepting request 957560 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/957560
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jemalloc?expand=0&rev=34
2022-02-26 16:02:03 +00:00
5eaccf3ffc Accepting request 957544 from home:Guillaume_G:branches:devel:libraries:c_c++
- Set lg-page to 2^16 on aarch64 to be compatible with 64k
  page size kernel - https://github.com/jemalloc/jemalloc/pull/769

OBS-URL: https://build.opensuse.org/request/show/957544
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jemalloc?expand=0&rev=84
2022-02-25 10:53:51 +00:00
Dominique Leuenberger
9e527a77d9 Accepting request 850229 from devel:libraries:c_c++
- Enable LTO as it works (boo#1133136).

OBS-URL: https://build.opensuse.org/request/show/850229
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jemalloc?expand=0&rev=33
2020-11-24 21:09:37 +00:00
493b52dcfd undo last change
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jemalloc?expand=0&rev=82
2020-11-23 14:13:37 +00:00
Martin Liška
656347803c - Use spec-cleaner.
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jemalloc?expand=0&rev=81
2020-11-23 12:35:59 +00:00
Martin Liška
a5c0d83bac - Enable LTO as it works (boo#1133136).
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jemalloc?expand=0&rev=80
2020-11-23 10:23:56 +00:00
Dominique Leuenberger
9ff6f7c612 Accepting request 849704 from devel:libraries:c_c++
- Simplify spec file.

- Re-enable profiling on armv6/armv7 since boo#1105633 is fixed

OBS-URL: https://build.opensuse.org/request/show/849704
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jemalloc?expand=0&rev=32
2020-11-21 11:43:15 +00:00
Martin Liška
dd832b1aa2 - Simplify spec file.
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jemalloc?expand=0&rev=78
2020-11-20 15:37:50 +00:00
Martin Liška
4eb6db8803 Accepting request 849674 from home:Guillaume_G:branches:devel:libraries:c_c++
- Re-enable profiling on armv6/armv7 since boo#1105633 is fixed

OBS-URL: https://build.opensuse.org/request/show/849674
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jemalloc?expand=0&rev=77
2020-11-20 13:17:34 +00:00
Dominique Leuenberger
21b99896cf Accepting request 721222 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/721222
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jemalloc?expand=0&rev=31
2019-08-08 12:22:17 +00:00
Martin Liška
954f6ff09f Accepting request 721219 from home:marxin:branches:devel:libraries:c_c++
- Update to version 5.2.1:
  * Bug fixes:
  * Fix a severe virtual memory leak on Windows. This regression
    was first released in 5.0.0.
  * Fix size 0 handling in posix_memalign(). This regression
    was first released in 5.2.0.
  * Fix the prof_log unit test which may observe unexpected
    backtraces from compiler optimizations. The test was first added in 5.2.0.
  * Fix the declaration of the extent_avail tree.
    This regression was first released in 5.1.0.
  * Fix an incorrect reference in jeprof.
    This functionality was first released in 3.0.0.
  * Fix an assertion on the deallocation fast-path.
    This regression was first released in 5.2.0.
  * Fix the TLS_MODEL attribute in headers.
    This regression was first released in 5.0.0.
  * Optimizations and refactors:
  * Implement opt.retain on Windows and enable by default on 64-bit.
  * Optimize away a branch on the operator delete path.
  * Add format annotation to the format generator function.
  * Refactor and improve the size class header generation.
  * Remove best fit.
  * Avoid blocking on background thread locks for stats.
- Remove disable-test_prof_log_many_traces-test.patch.

OBS-URL: https://build.opensuse.org/request/show/721219
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jemalloc?expand=0&rev=75
2019-08-06 07:14:27 +00:00
Yuchen Lin
5891310a61 Accepting request 697433 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/697433
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jemalloc?expand=0&rev=30
2019-04-28 17:56:51 +00:00
Martin Liška
ae2829a1ee Accepting request 697432 from home:marxin:branches:devel:libraries:c_c++
Disable LTO (boo#1133136).

OBS-URL: https://build.opensuse.org/request/show/697432
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jemalloc?expand=0&rev=73
2019-04-24 09:48:00 +00:00
Dominique Leuenberger
84f6c66bff Accepting request 691510 from devel:libraries:c_c++
- Update to version 5.2.0:

OBS-URL: https://build.opensuse.org/request/show/691510
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jemalloc?expand=0&rev=29
2019-04-08 08:31:58 +00:00
7e8e75282e remove more build-related or changes not directly visible on the surface
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jemalloc?expand=0&rev=71
2019-04-04 12:22:01 +00:00
0c88622de0 adhere to openSUSE changelog syntax guideline
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jemalloc?expand=0&rev=70
2019-04-04 12:05:04 +00:00
102acf7fa4 trim parts irrelevant for the user
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jemalloc?expand=0&rev=69
2019-04-04 12:03:53 +00:00
c0cb36e0f8 trim changelog that's irrelevant to the user because it affects other platforms, build procedure, or deep internals
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jemalloc?expand=0&rev=68
2019-04-04 11:56:46 +00:00
3c58a4f9a9 - Drop static library package, nothing seems to use it.
- Remove openSUSE 11.1 build support.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jemalloc?expand=0&rev=67
2019-04-04 11:53:02 +00:00
Martin Liška
3e58fb6fa0 Accepting request 691467 from home:marxin:branches:devel:libraries:c_c++
- Add disable-test_prof_log_many_traces-test.patch in order
  to workaround https://github.com/jemalloc/jemalloc/issues/1477.
- Update to version 5.2.0:
  New features:
    * Implement oversize_threshold, which uses a dedicated arena for allocations crossing the specified threshold to reduce fragmentation. (@interwq)
    * Add extents usage information to stats. (@tyleretzel)
    * Log time information for sampled allocations. (@tyleretzel)
    * Support 0 size in sdallocx. (@djwatson)
    * Output rate for certain counters in malloc_stats. (@zinoale)
    * Add configure option --enable-readlinkat, which allows the use of readlinkat over readlink. (@davidtgoldblatt)
    * Add configure options --{enable,disable}-{static,shared} to allow not building unwanted libraries. (@Ericson2314)
    * Add configure option --disable-libdl to enable fully static builds. (@interwq)
    * Add mallctl interfaces:
    * opt.oversize_threshold (@interwq)
    * stats.arenas.<i>.extent_avail (@tyleretzel)
    * stats.arenas.<i>.extents.<j>.n{dirty,muzzy,retained} (@tyleretzel)
    * stats.arenas.<i>.extents.<j>.{dirty,muzzy,retained}_bytes (@tyleretzel)
  Portability improvements:
    * Update MSVC builds. (@maksqwe, @rustyx)
    * Workaround a compiler optimizer bug on s390x. (@rkmisra)
    * Make use of pthread_set_name_np(3) on FreeBSD. (@trasz)
    * Implement malloc_getcpu() to enable percpu_arena for windows. (@santagada)
    * Link against -pthread instead of -lpthread. (@paravoid)
    * Make background_thread not dependent on libdl. (@interwq)
    * Add stringify to fix a linker directive issue on MSVC. (@daverigby)
    * Detect and fall back when 8-bit atomics are unavailable. (@interwq)
    * Fall back to the default pthread_create(3) if dlsym(3) fails. (@interwq)
  Optimizations and refactors:
    * Refactor the TSD module. (@davidtgoldblatt)
    * Avoid taking extents_muzzy mutex when muzzy is disabled. (@interwq)
    * Avoid taking large_mtx for auto arenas on the tcache flush path. (@interwq)
    * Optimize ixalloc by avoiding a size lookup. (@interwq)
    * Implement opt.oversize_threshold which uses a dedicated arena for requests crossing the threshold, also eagerly purges the oversize extents. Default the threshold to 8 MiB. (@interwq)
    * Clean compilation with -Wextra. (@gnzlbg, @jasone)
    * Refactor the size class module. (@davidtgoldblatt)
    * Refactor the stats emitter. (@tyleretzel)
    * Optimize pow2_ceil. (@rkmisra)
    * Avoid runtime detection of lazy purging on FreeBSD. (@trasz)
    * Optimize mmap(2) alignment handling on FreeBSD. (@trasz)
    * Improve error handling for THP state initialization. (@jsteemann)
    * Rework the malloc() fast path. (@djwatson)
    * Rework the free() fast path. (@djwatson)
    * Refactor and optimize the tcache fill / flush paths. (@djwatson)
    * Optimize sync / lwsync on PowerPC. (@chmeeedalf)
    * Bypass extent_dalloc() when retain is enabled. (@interwq)
    * Optimize the locking on large deallocation. (@interwq)
    * Reduce the number of pages committed from sanity checking in debug build. (@trasz, @interwq)
    * Deprecate OSSpinLock. (@interwq)
    * Lower the default number of background threads to 4 (when the feature is enabled). (@interwq)
    * Optimize the trylock spin wait. (@djwatson)
    * Use arena index for arena-matching checks. (@interwq)
    * Avoid forced decay on thread termination when using background threads. (@interwq)
    * Disable muzzy decay by default. (@djwatson, @interwq)
    * Only initialize libgcc unwinder when profiling is enabled. (@paravoid, @interwq)
  Bug fixes (all only relevant to jemalloc 5.x):
    * Fix background thread index issues with max_background_threads. (@djwatson, @interwq)
    * Fix stats output for opt.lg_extent_max_active_fit. (@interwq)
    * Fix opt.prof_prefix initialization. (@davidtgoldblatt)
    * Properly trigger decay on tcache destroy. (@interwq, @amosbird)
    * Fix tcache.flush. (@interwq)
    * Detect whether explicit extent zero out is necessary with huge pages or custom extent hooks, which may change the purge semantics. (@interwq)
    * Fix a side effect caused by extent_max_active_fit combined with decay-based purging, where freed extents can accumulate and not be reused for an extended period of time. (@interwq, @mpghf)
    * Fix a missing unlock on extent register error handling. (@zoulasc)
  Testing:
    * Simplify the Travis script output. (@gnzlbg)
    * Update the test scripts for FreeBSD. (@devnexen)
    * Add unit tests for the producer-consumer pattern. (@interwq)
    * Add Cirrus-CI config for FreeBSD builds. (@jasone)
    * Add size-matching sanity checks on tcache flush. (@davidtgoldblatt, @interwq)
  Incompatible changes:
    * Remove --with-lg-page-sizes. (@davidtgoldblatt)
  Documentation:
    * Attempt to build docs by default, however skip doc building when xsltproc is missing. (@interwq, @cmuellner)
- Change URL of the project.

OBS-URL: https://build.opensuse.org/request/show/691467
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jemalloc?expand=0&rev=66
2019-04-04 10:13:32 +00:00
Dominique Leuenberger
5534b4bbd9 Accepting request 645590 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/645590
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jemalloc?expand=0&rev=28
2018-11-06 14:22:30 +00:00
Martin Liška
c0aefeba97 Accepting request 645563 from home:michel_mno:branches:devel:libraries:c_c++
- Disable profiling on ppc until boo#1105633 get fixed
  because same jemalloc hung when build for ppc
  https://build.opensuse.org/package/live_build_log/openSUSE:Factory:PowerPC/jemalloc/standard/ppc

OBS-URL: https://build.opensuse.org/request/show/645563
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jemalloc?expand=0&rev=64
2018-10-30 19:09:37 +00:00
Dominique Leuenberger
ffa65a880a Accepting request 639125 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/639125
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jemalloc?expand=0&rev=27
2018-10-04 16:56:47 +00:00
9f461e3f70 Accepting request 639121 from home:mmanu84:branches:openSUSE:Factory:ARM
- Disable profiling on armv6 until boo#1105633 get fixed

OBS-URL: https://build.opensuse.org/request/show/639121
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jemalloc?expand=0&rev=62
2018-09-29 11:38:06 +00:00
Dominique Leuenberger
a2ea453c2a Accepting request 630930 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/630930
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jemalloc?expand=0&rev=26
2018-08-28 07:23:21 +00:00
9d0bf52d6a Accepting request 630928 from home:Guillaume_G:branches:devel:libraries:c_c++
- Disable profiling on armv7 until boo#1105633 get fixed

OBS-URL: https://build.opensuse.org/request/show/630928
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jemalloc?expand=0&rev=60
2018-08-22 14:07:30 +00:00
Dominique Leuenberger
415c3f0c38 Accepting request 606134 from devel:libraries:c_c++
- Update to version 5.1.0:
  * remove patches: 0001-ARM-Don-t-extend-bit-LG_VADDR-to-compute-high-addres.patch
  and 0001-remove-CPU_SPINWAIT.patch.
  New features:
    * Implement transparent huge page support for internal metadata. (@interwq)
    * Add opt.thp to allow enabling / disabling transparent huge pages for all mappings. (@interwq)
    * Add maximum background thread count option. (@djwatson)
    * Allow prof_active to control opt.lg_prof_interval and prof.gdump. (@interwq)
    * Allow arena index lookup based on allocation addresses via mallctl. (@lionkov)
    * Allow disabling initial-exec TLS model. (@davidtgoldblatt, @KenMacD)
    * Add opt.lg_extent_max_active_fit to set the max ratio between the size of the active extent selected (to split off from) and the size of the requested allocation. (@interwq, @davidtgoldblatt)
    * Add retain_grow_limit to set the max size when growing virtual address space. (@interwq)
    * Add mallctl interfaces:
    * arena.<i>.retain_grow_limit (@interwq)
    * arenas.lookup (@lionkov)
    * max_background_threads (@djwatson)
    * opt.lg_extent_max_active_fit (@interwq)
    * opt.max_background_threads (@djwatson)
    * opt.metadata_thp (@interwq)
    * opt.thp (@interwq)
    * stats.metadata_thp (@interwq)
  Portability improvements:
    * Support GNU/kFreeBSD configuration. (@paravoid)
    * Support m68k, nios2 and SH3 architectures. (@paravoid)
    * Fall back to FD_CLOEXEC when O_CLOEXEC is unavailable. (@zonyitoo)
    * Fix symbol listing for cross-compiling. (@tamird)
    * Fix high bits computation on ARM. (@davidtgoldblatt, @paravoid)
    * Disable the CPU_SPINWAIT macro for Power. (@davidtgoldblatt, @marxin)
    * Fix MSVC 2015 & 2017 builds. (@rustyx)
    * Improve RISC-V support. (@EdSchouten)
    * Set name mangling script in strict mode. (@nicolov)
    * Avoid MADV_HUGEPAGE on ARM. (@marxin)
    * Modify configure to determine return value of strerror_r. (@davidtgoldblatt, @cferris1000)
    * Make sure CXXFLAGS is tested with CPP compiler. (@nehaljwani)
    * Fix 32-bit build on MSVC. (@rustyx)
    * Fix external symbol on MSVC. (@maksqwe)
    * Avoid a printf format specifier warning. (@jasone)
    * Add configure option --disable-initial-exec-tls which can allow jemalloc to be dynamically loaded after program startup. (@davidtgoldblatt, @KenMacD)
    * AArch64: Add ILP32 support. (@cmuellner)
    * Add --with-lg-vaddr configure option to support cross compiling. (@cmuellner, @davidtgoldblatt)
  Optimizations and refactors:
    * Improve active extent fit with extent_max_active_fit. This considerably reduces fragmentation over time and improves virtual memory and metadata usage. (@davidtgoldblatt, @interwq)
    * Eagerly coalesce large extents to reduce fragmentation. (@interwq)
    * sdallocx: only read size info when page aligned (i.e. possibly sampled), which speeds up the sized deallocation path significantly. (@interwq)
    * Avoid attempting new mappings for in place expansion with retain, since it rarely succeeds in practice and causes high overhead. (@interwq)
    * Refactor OOM handling in newImpl. (@wqfish)
    * Add internal fine-grained logging functionality for debugging use. (@davidtgoldblatt)
    * Refactor arena / tcache interactions. (@davidtgoldblatt)
    * Refactor extent management with dumpable flag. (@davidtgoldblatt)
    * Add runtime detection of lazy purging. (@interwq)
    * Use pairing heap instead of red-black tree for extents_avail. (@djwatson)
    * Use sysctl on startup in FreeBSD. (@trasz)
    * Use thread local prng state instead of atomic. (@djwatson)
    * Make decay to always purge one more extent than before, because in practice large extents are usually the ones that cross the decay threshold. Purging the additional extent helps save memory as well as reduce VM fragmentation. (@interwq)
    * Fast division by dynamic values. (@davidtgoldblatt)
    * Improve the fit for aligned allocation. (@interwq, @edwinsmith)
    * Refactor extent_t bitpacking. (@rkmisra)
    * Optimize the generated assembly for ticker operations. (@davidtgoldblatt)
    * Convert stats printing to use a structured text emitter. (@davidtgoldblatt)
    * Remove preserve_lru feature for extents management. (@djwatson)
    * Consolidate two memory loads into one on the fast deallocation path. (@davidtgoldblatt, @interwq)
  Bug fixes (most of the issues are only relevant to jemalloc 5.0):
    * Fix deadlock with multithreaded fork in OS X. (@davidtgoldblatt)
    * Validate returned file descriptor before use. (@zonyitoo)
    * Fix a few background thread initialization and shutdown issues. (@interwq)
    * Fix an extent coalesce + decay race by taking both coalescing extents off the LRU list. (@interwq)
    * Fix potentially unbound increase during decay, caused by one thread keep stashing memory to purge while other threads generating new pages. The number of pages to purge is checked to prevent this. (@interwq)
    * Fix a FreeBSD bootstrap assertion. (@strejda, @interwq)
    * Handle 32 bit mutex counters. (@rkmisra)
    * Fix a indexing bug when creating background threads. (@davidtgoldblatt, @binliu19)
    * Fix arguments passed to extent_init. (@yuleniwo, @interwq)
    * Fix addresses used for ordering mutexes. (@rkmisra)
    * Fix abort_conf processing during bootstrap. (@interwq)
    * Fix include path order for out-of-tree builds. (@cmuellner)
  Incompatible changes:
    * Remove --disable-thp. (@interwq)
    * Remove mallctl interfaces:
    * config.thp (@interwq)
  Documentation:
    * Add TUNING.md. (@interwq, @davidtgoldblatt, @djwatson)

OBS-URL: https://build.opensuse.org/request/show/606134
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jemalloc?expand=0&rev=25
2018-05-13 13:56:27 +00:00
Martin Liška
f5dccfaafc - Update to version 5.1.0:
* remove patches: 0001-ARM-Don-t-extend-bit-LG_VADDR-to-compute-high-addres.patch
  and 0001-remove-CPU_SPINWAIT.patch.
  New features:
    * Implement transparent huge page support for internal metadata. (@interwq)
    * Add opt.thp to allow enabling / disabling transparent huge pages for all mappings. (@interwq)
    * Add maximum background thread count option. (@djwatson)
    * Allow prof_active to control opt.lg_prof_interval and prof.gdump. (@interwq)
    * Allow arena index lookup based on allocation addresses via mallctl. (@lionkov)
    * Allow disabling initial-exec TLS model. (@davidtgoldblatt, @KenMacD)
    * Add opt.lg_extent_max_active_fit to set the max ratio between the size of the active extent selected (to split off from) and the size of the requested allocation. (@interwq, @davidtgoldblatt)
    * Add retain_grow_limit to set the max size when growing virtual address space. (@interwq)
    * Add mallctl interfaces:
    * arena.<i>.retain_grow_limit (@interwq)
    * arenas.lookup (@lionkov)
    * max_background_threads (@djwatson)
    * opt.lg_extent_max_active_fit (@interwq)
    * opt.max_background_threads (@djwatson)
    * opt.metadata_thp (@interwq)
    * opt.thp (@interwq)
    * stats.metadata_thp (@interwq)
  Portability improvements:
    * Support GNU/kFreeBSD configuration. (@paravoid)
    * Support m68k, nios2 and SH3 architectures. (@paravoid)
    * Fall back to FD_CLOEXEC when O_CLOEXEC is unavailable. (@zonyitoo)
    * Fix symbol listing for cross-compiling. (@tamird)
    * Fix high bits computation on ARM. (@davidtgoldblatt, @paravoid)
    * Disable the CPU_SPINWAIT macro for Power. (@davidtgoldblatt, @marxin)
    * Fix MSVC 2015 & 2017 builds. (@rustyx)
    * Improve RISC-V support. (@EdSchouten)

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jemalloc?expand=0&rev=58
2018-05-10 08:54:23 +00:00
Dominique Leuenberger
f0e46a1414 Accepting request 575200 from devel:libraries:c_c++
- Disable THP for ARM (32 bits). This fix build by passing all tests successfully (forwarded request 574948 from Guillaume_G)

OBS-URL: https://build.opensuse.org/request/show/575200
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jemalloc?expand=0&rev=24
2018-02-13 09:27:44 +00:00
ad7eda2cb1 Accepting request 574948 from home:Guillaume_G:branches:devel:libraries:c_c++
- Disable THP for ARM (32 bits). This fix build by passing all tests successfully

OBS-URL: https://build.opensuse.org/request/show/574948
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jemalloc?expand=0&rev=56
2018-02-10 12:04:24 +00:00
Dominique Leuenberger
b3d7d02442 Accepting request 531585 from devel:libraries:c_c++
- Add 0001-ARM-Don-t-extend-bit-LG_VADDR-to-compute-high-addres.patch:
  fixes #979.
- Add 0001-remove-CPU_SPINWAIT.patch:
  revert 701daa5298b3befe2aff05ce590533165abb9ba4 in order to fix #761.
- Update to version 5.0.1
   Bug fixes:
     * Update decay->nunpurged before purging, in order to avoid potential
       update races and subsequent incorrect purging volume.
       ([37]@interwq)
     * Only abort on dlsym(3) error if the failure impacts an enabled
       feature (lazy locking and/or background threads). This mitigates an
       initialization failure bug for which we still do not have a clear
       reproduction test case. ([38]@interwq)
     * Modify tsd management so that it neither crashes nor leaks if a
       thread's only allocation activity is to call free() after TLS
       destructors have been executed. This behavior was observed when
       operating with GNU libc, and is unlikely to be an issue with other
       libc implementations. ([39]@interwq)
     * Mask signals during background thread creation. This prevents
       signals from being inadvertently delivered to background threads.
       ([40]@jasone, [41]@davidtgoldblatt, [42]@interwq)
     * Avoid inactivity checks within background threads, in order to
       prevent recursive mutex acquisition. ([43]@interwq)
     * Fix extent_grow_retained() to use the specified hooks when the
       arena.<i>.extent_hooks mallctl is used to override the default
       hooks. ([44]@interwq)
     * Add missing reentrancy support for custom extent hooks which
       allocate. ([45]@interwq)
     * Post-fork(2), re-initialize the list of tcaches associated with
       each arena to contain no tcaches except the forking thread's.
       ([46]@interwq)
     * Add missing post-fork(2) mutex reinitialization for
       extent_grow_mtx. This fixes potential deadlocks after fork(2).
       ([47]@interwq)
     * Enforce minimum autoconf version (currently 2.68), since 2.63 is
       known to generate corrupt configure scripts. ([48]@jasone)
     * Ensure that the configured page size (--with-lg-page) is no larger
       than the configured huge page size (--with-lg-hugepage).
       ([49]@jasone)
   New features:
     * Implement optional per-CPU arena support; threads choose which
       arena to use based on current CPU rather than on fixed
       thread-->arena associations. ([59]@interwq)
     * Implement two-phase decay of unused dirty pages. Pages transition
       from dirty-->muzzy-->clean, where the first phase transition relies
       on madvise(... MADV_FREE) semantics, and the second phase
       transition discards pages such that they are replaced with
       demand-zeroed pages on next access. ([60]@jasone)
     * Increase decay time resolution from seconds to milliseconds.
       ([61]@jasone)
     * Implement opt-in per CPU background threads, and use them for
       asynchronous decay-driven unused dirty page purging. ([62]@interwq)
     * Add mutex profiling, which collects a variety of statistics useful
       for diagnosing overhead/contention issues. ([63]@interwq)
     * Add C++ new/delete operator bindings. ([64]@djwatson)
     * Support manually created arena destruction, such that all data and
       metadata are discarded. Add MALLCTL_ARENAS_DESTROYED for accessing
       merged stats associated with destroyed arenas. ([65]@jasone)
     * Add MALLCTL_ARENAS_ALL as a fixed index for use in accessing
       merged/destroyed arena statistics via mallctl. ([66]@jasone)
     * Add opt.abort_conf to optionally abort if invalid configuration
       options are detected during initialization. ([67]@interwq)
     * Add opt.stats_print_opts, so that e.g. JSON output can be selected
       for the stats dumped during exit if opt.stats_print is true.
       ([68]@jasone)
     * Add --with-version=VERSION for use when embedding jemalloc into
       another project's git repository. ([69]@jasone)
     * Add --disable-thp to support cross compiling. ([70]@jasone)
     * Add --with-lg-hugepage to support cross compiling. ([71]@jasone)
     * Add mallctl interfaces (various authors):
          + background_thread
          + opt.abort_conf
          + opt.retain
          + opt.percpu_arena
          + opt.background_thread
          + opt.{dirty,muzzy}_decay_ms
          + opt.stats_print_opts
          + arena.<i>.initialized
          + arena.<i>.destroy
          + arena.<i>.{dirty,muzzy}_decay_ms
          + arena.<i>.extent_hooks
          + arenas.{dirty,muzzy}_decay_ms
          + arenas.bin.<i>.slab_size
          + arenas.nlextents
          + arenas.lextent.<i>.size
          + arenas.create
          + stats.background_thread.{num_threads,num_runs,run_interval}
          + stats.mutexes.{ctl,background_thread,prof,reset}.{num_ops,num_
            spin_acq,num_wait,max_wait_time,total_wait_time,max_num_thds,n
            um_owner_switch}
          + stats.arenas.<i>.{dirty,muzzy}_decay_ms
          + stats.arenas.<i>.uptime
          + stats.arenas.<i>.{pmuzzy,base,internal,resident}
          + stats.arenas.<i>.{dirty,muzzy}_{npurge,nmadvise,purged}
          + stats.arenas.<i>.bins.<j>.{nslabs,reslabs,curslabs}
          + stats.arenas.<i>.bins.<j>.mutex.{num_ops,num_spin_acq,num_wait
            ,max_wait_time,total_wait_time,max_num_thds,num_owner_switch}
          + stats.arenas.<i>.lextents.<j>.{nmalloc,ndalloc,nrequests,curle
            xtents}
          + stats.arenas.i.mutexes.{large,extent_avail,extents_dirty,exten
            ts_muzzy,extents_retained,decay_dirty,decay_muzzy,base,tcache_
            list}.{num_ops,num_spin_acq,num_wait,max_wait_time,total_wait_
            time,max_num_thds,num_owner_switch}
   Portability improvements:
     * Improve reentrant allocation support, such that deadlock is less
       likely if e.g. a system library call in turn allocates memory.
       ([72]@davidtgoldblatt, [73]@interwq)
     * Support static linking of jemalloc with glibc. ([74]@djwatson)
   Optimizations and refactors:
     * Organize virtual memory as "extents" of virtual memory pages,
       rather than as naturally aligned "chunks", and store all metadata
       in arbitrarily distant locations. This reduces virtual memory
       external fragmentation, and will interact better with huge pages
       (not yet explicitly supported). ([75]@jasone)
     * Fold large and huge size classes together; only small and large
       size classes remain. ([76]@jasone)
     * Unify the allocation paths, and merge most fast-path branching
       decisions. ([77]@davidtgoldblatt, [78]@interwq)
     * Embed per thread automatic tcache into thread-specific data, which
       reduces conditional branches and dereferences. Also reorganize
       tcache to increase fast-path data locality. ([79]@interwq)
     * Rewrite atomics to closely model the C11 API, convert various
       synchronization from mutex-based to atomic, and use the explicit
       memory ordering control to resolve various hypothetical races
       without increasing synchronization overhead. ([80]@davidtgoldblatt)
     * Extensively optimize rtree via various methods:
          + Add multiple layers of rtree lookup caching, since rtree
            lookups are now part of fast-path deallocation. ([81]@interwq)
          + Determine rtree layout at compile time. ([82]@jasone)
          + Make the tree shallower for common configurations.
            ([83]@jasone)
          + Embed the root node in the top-level rtree data structure,
            thus avoiding one level of indirection. ([84]@jasone)
          + Further specialize leaf elements as compared to internal node
            elements, and directly embed extent metadata needed for
            fast-path deallocation. ([85]@jasone)
          + Ignore leading always-zero address bits
            (architecture-specific). ([86]@jasone)
     * Reorganize headers (ongoing work) to make them hermetic, and
       disentangle various module dependencies. ([87]@davidtgoldblatt)
     * Convert various internal data structures such as size class
       metadata from boot-time-initialized to compile-time-initialized.
       Propagate resulting data structure simplifications, such as making
       arena metadata fixed-size. ([88]@jasone)
     * Simplify size class lookups when constrained to size classes that
       are multiples of the page size. This speeds lookups, but the
       primary benefit is complexity reduction in code that was the source
       of numerous regressions. ([89]@jasone)
     * Lock individual extents when possible for localized extent
       operations, rather than relying on a top-level arena lock.
       ([90]@davidtgoldblatt, [91]@jasone)
     * Use first fit layout policy instead of best fit, in order to
       improve packing. ([92]@jasone)
     * If munmap(2) is not in use, use an exponential series to grow each
       arena's virtual memory, so that the number of disjoint virtual
       memory mappings remains low. ([93]@jasone)
     * Implement per arena base allocators, so that arenas never share any
       virtual memory pages. ([94]@jasone)
     * Automatically generate private symbol name mangling macros.
       ([95]@jasone)
   Incompatible changes:
     * Replace chunk hooks with an expanded/normalized set of extent
       hooks. ([96]@jasone)
     * Remove ratio-based purging. ([97]@jasone)
     * Remove --disable-tcache. ([98]@jasone)
     * Remove --disable-tls. ([99]@jasone)
     * Remove --enable-ivsalloc. ([100]@jasone)
     * Remove --with-lg-size-class-group. ([101]@jasone)
     * Remove --with-lg-tiny-min. ([102]@jasone)
     * Remove --disable-cc-silence. ([103]@jasone)
     * Remove --enable-code-coverage. ([104]@jasone)
     * Remove --disable-munmap (replaced by opt.retain). ([105]@jasone)
     * Remove Valgrind support. ([106]@jasone)
     * Remove quarantine support. ([107]@jasone)
     * Remove redzone support. ([108]@jasone)
     * Remove mallctl interfaces (various authors):
          + config.munmap
          + config.tcache
          + config.tls
          + config.valgrind
          + opt.lg_chunk
          + opt.purge
          + opt.lg_dirty_mult
          + opt.decay_time
          + opt.quarantine
          + opt.redzone
          + opt.thp
          + arena.<i>.lg_dirty_mult
          + arena.<i>.decay_time
          + arena.<i>.chunk_hooks
          + arenas.initialized
          + arenas.lg_dirty_mult
          + arenas.decay_time
          + arenas.bin.<i>.run_size
          + arenas.nlruns
          + arenas.lrun.<i>.size
          + arenas.nhchunks
          + arenas.hchunk.<i>.size
          + arenas.extend
          + stats.cactive
          + stats.arenas.<i>.lg_dirty_mult
          + stats.arenas.<i>.decay_time
          + stats.arenas.<i>.metadata.{mapped,allocated}
          + stats.arenas.<i>.{npurge,nmadvise,purged}
          + stats.arenas.<i>.huge.{allocated,nmalloc,ndalloc,nrequests}
          + stats.arenas.<i>.bins.<j>.{nruns,reruns,curruns}
          + stats.arenas.<i>.lruns.<j>.{nmalloc,ndalloc,nrequests,curruns}
          + stats.arenas.<i>.hchunks.<j>.{nmalloc,ndalloc,nrequests,curhch
            unks}
   Bug fixes:
     * Improve interval-based profile dump triggering to dump only one
       profile when a single allocation's size exceeds the interval.
       ([109]@jasone)
     * Use prefixed function names (as controlled by
       --with-jemalloc-prefix) when pruning backtrace frames in jeprof.
       ([110]@jasone)

OBS-URL: https://build.opensuse.org/request/show/531585
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jemalloc?expand=0&rev=23
2017-10-10 09:35:26 +00:00
Martin Liška
676d1e82ed - Add 0001-remove-CPU_SPINWAIT.patch:
revert 701daa5298b3befe2aff05ce590533165abb9ba4 in order to fix #761.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jemalloc?expand=0&rev=54
2017-10-05 10:17:17 +00:00
Martin Liška
b3064a5bab Accepting request 531565 from home:marxin:branches:devel:libraries:c_c++
- Add 0001-ARM-Don-t-extend-bit-LG_VADDR-to-compute-high-addres.patch:
  fixes #979.
- Revert 701daa5298b3befe2aff05ce590533165abb9ba4 in order to fix
  #761.
- Update to version 5.0.1
   Bug fixes:
     * Update decay->nunpurged before purging, in order to avoid potential
       update races and subsequent incorrect purging volume.
       ([37]@interwq)
     * Only abort on dlsym(3) error if the failure impacts an enabled
       feature (lazy locking and/or background threads). This mitigates an
       initialization failure bug for which we still do not have a clear
       reproduction test case. ([38]@interwq)
     * Modify tsd management so that it neither crashes nor leaks if a
       thread's only allocation activity is to call free() after TLS
       destructors have been executed. This behavior was observed when
       operating with GNU libc, and is unlikely to be an issue with other
       libc implementations. ([39]@interwq)
     * Mask signals during background thread creation. This prevents
       signals from being inadvertently delivered to background threads.
       ([40]@jasone, [41]@davidtgoldblatt, [42]@interwq)
     * Avoid inactivity checks within background threads, in order to
       prevent recursive mutex acquisition. ([43]@interwq)
     * Fix extent_grow_retained() to use the specified hooks when the
       arena.<i>.extent_hooks mallctl is used to override the default
       hooks. ([44]@interwq)
     * Add missing reentrancy support for custom extent hooks which
       allocate. ([45]@interwq)
     * Post-fork(2), re-initialize the list of tcaches associated with
       each arena to contain no tcaches except the forking thread's.
       ([46]@interwq)
     * Add missing post-fork(2) mutex reinitialization for
       extent_grow_mtx. This fixes potential deadlocks after fork(2).
       ([47]@interwq)
     * Enforce minimum autoconf version (currently 2.68), since 2.63 is
       known to generate corrupt configure scripts. ([48]@jasone)
     * Ensure that the configured page size (--with-lg-page) is no larger
       than the configured huge page size (--with-lg-hugepage).
       ([49]@jasone)
   New features:
     * Implement optional per-CPU arena support; threads choose which
       arena to use based on current CPU rather than on fixed
       thread-->arena associations. ([59]@interwq)
     * Implement two-phase decay of unused dirty pages. Pages transition
       from dirty-->muzzy-->clean, where the first phase transition relies
       on madvise(... MADV_FREE) semantics, and the second phase
       transition discards pages such that they are replaced with
       demand-zeroed pages on next access. ([60]@jasone)
     * Increase decay time resolution from seconds to milliseconds.
       ([61]@jasone)
     * Implement opt-in per CPU background threads, and use them for
       asynchronous decay-driven unused dirty page purging. ([62]@interwq)
     * Add mutex profiling, which collects a variety of statistics useful
       for diagnosing overhead/contention issues. ([63]@interwq)
     * Add C++ new/delete operator bindings. ([64]@djwatson)
     * Support manually created arena destruction, such that all data and
       metadata are discarded. Add MALLCTL_ARENAS_DESTROYED for accessing
       merged stats associated with destroyed arenas. ([65]@jasone)
     * Add MALLCTL_ARENAS_ALL as a fixed index for use in accessing
       merged/destroyed arena statistics via mallctl. ([66]@jasone)
     * Add opt.abort_conf to optionally abort if invalid configuration
       options are detected during initialization. ([67]@interwq)
     * Add opt.stats_print_opts, so that e.g. JSON output can be selected
       for the stats dumped during exit if opt.stats_print is true.
       ([68]@jasone)
     * Add --with-version=VERSION for use when embedding jemalloc into
       another project's git repository. ([69]@jasone)
     * Add --disable-thp to support cross compiling. ([70]@jasone)
     * Add --with-lg-hugepage to support cross compiling. ([71]@jasone)
     * Add mallctl interfaces (various authors):
          + background_thread
          + opt.abort_conf
          + opt.retain
          + opt.percpu_arena
          + opt.background_thread
          + opt.{dirty,muzzy}_decay_ms
          + opt.stats_print_opts
          + arena.<i>.initialized
          + arena.<i>.destroy
          + arena.<i>.{dirty,muzzy}_decay_ms
          + arena.<i>.extent_hooks
          + arenas.{dirty,muzzy}_decay_ms
          + arenas.bin.<i>.slab_size
          + arenas.nlextents
          + arenas.lextent.<i>.size
          + arenas.create
          + stats.background_thread.{num_threads,num_runs,run_interval}
          + stats.mutexes.{ctl,background_thread,prof,reset}.{num_ops,num_
            spin_acq,num_wait,max_wait_time,total_wait_time,max_num_thds,n
            um_owner_switch}
          + stats.arenas.<i>.{dirty,muzzy}_decay_ms
          + stats.arenas.<i>.uptime
          + stats.arenas.<i>.{pmuzzy,base,internal,resident}
          + stats.arenas.<i>.{dirty,muzzy}_{npurge,nmadvise,purged}
          + stats.arenas.<i>.bins.<j>.{nslabs,reslabs,curslabs}
          + stats.arenas.<i>.bins.<j>.mutex.{num_ops,num_spin_acq,num_wait
            ,max_wait_time,total_wait_time,max_num_thds,num_owner_switch}
          + stats.arenas.<i>.lextents.<j>.{nmalloc,ndalloc,nrequests,curle
            xtents}
          + stats.arenas.i.mutexes.{large,extent_avail,extents_dirty,exten
            ts_muzzy,extents_retained,decay_dirty,decay_muzzy,base,tcache_
            list}.{num_ops,num_spin_acq,num_wait,max_wait_time,total_wait_
            time,max_num_thds,num_owner_switch}
   Portability improvements:
     * Improve reentrant allocation support, such that deadlock is less
       likely if e.g. a system library call in turn allocates memory.
       ([72]@davidtgoldblatt, [73]@interwq)
     * Support static linking of jemalloc with glibc. ([74]@djwatson)
   Optimizations and refactors:
     * Organize virtual memory as "extents" of virtual memory pages,
       rather than as naturally aligned "chunks", and store all metadata
       in arbitrarily distant locations. This reduces virtual memory
       external fragmentation, and will interact better with huge pages
       (not yet explicitly supported). ([75]@jasone)
     * Fold large and huge size classes together; only small and large
       size classes remain. ([76]@jasone)
     * Unify the allocation paths, and merge most fast-path branching
       decisions. ([77]@davidtgoldblatt, [78]@interwq)
     * Embed per thread automatic tcache into thread-specific data, which
       reduces conditional branches and dereferences. Also reorganize
       tcache to increase fast-path data locality. ([79]@interwq)
     * Rewrite atomics to closely model the C11 API, convert various
       synchronization from mutex-based to atomic, and use the explicit
       memory ordering control to resolve various hypothetical races
       without increasing synchronization overhead. ([80]@davidtgoldblatt)
     * Extensively optimize rtree via various methods:
          + Add multiple layers of rtree lookup caching, since rtree
            lookups are now part of fast-path deallocation. ([81]@interwq)
          + Determine rtree layout at compile time. ([82]@jasone)
          + Make the tree shallower for common configurations.
            ([83]@jasone)
          + Embed the root node in the top-level rtree data structure,
            thus avoiding one level of indirection. ([84]@jasone)
          + Further specialize leaf elements as compared to internal node
            elements, and directly embed extent metadata needed for
            fast-path deallocation. ([85]@jasone)
          + Ignore leading always-zero address bits
            (architecture-specific). ([86]@jasone)
     * Reorganize headers (ongoing work) to make them hermetic, and
       disentangle various module dependencies. ([87]@davidtgoldblatt)
     * Convert various internal data structures such as size class
       metadata from boot-time-initialized to compile-time-initialized.
       Propagate resulting data structure simplifications, such as making
       arena metadata fixed-size. ([88]@jasone)
     * Simplify size class lookups when constrained to size classes that
       are multiples of the page size. This speeds lookups, but the
       primary benefit is complexity reduction in code that was the source
       of numerous regressions. ([89]@jasone)
     * Lock individual extents when possible for localized extent
       operations, rather than relying on a top-level arena lock.
       ([90]@davidtgoldblatt, [91]@jasone)
     * Use first fit layout policy instead of best fit, in order to
       improve packing. ([92]@jasone)
     * If munmap(2) is not in use, use an exponential series to grow each
       arena's virtual memory, so that the number of disjoint virtual
       memory mappings remains low. ([93]@jasone)
     * Implement per arena base allocators, so that arenas never share any
       virtual memory pages. ([94]@jasone)
     * Automatically generate private symbol name mangling macros.
       ([95]@jasone)
   Incompatible changes:
     * Replace chunk hooks with an expanded/normalized set of extent
       hooks. ([96]@jasone)
     * Remove ratio-based purging. ([97]@jasone)
     * Remove --disable-tcache. ([98]@jasone)
     * Remove --disable-tls. ([99]@jasone)
     * Remove --enable-ivsalloc. ([100]@jasone)
     * Remove --with-lg-size-class-group. ([101]@jasone)
     * Remove --with-lg-tiny-min. ([102]@jasone)
     * Remove --disable-cc-silence. ([103]@jasone)
     * Remove --enable-code-coverage. ([104]@jasone)
     * Remove --disable-munmap (replaced by opt.retain). ([105]@jasone)
     * Remove Valgrind support. ([106]@jasone)
     * Remove quarantine support. ([107]@jasone)
     * Remove redzone support. ([108]@jasone)
     * Remove mallctl interfaces (various authors):
          + config.munmap
          + config.tcache
          + config.tls
          + config.valgrind
          + opt.lg_chunk
          + opt.purge
          + opt.lg_dirty_mult
          + opt.decay_time
          + opt.quarantine
          + opt.redzone
          + opt.thp
          + arena.<i>.lg_dirty_mult
          + arena.<i>.decay_time
          + arena.<i>.chunk_hooks
          + arenas.initialized
          + arenas.lg_dirty_mult
          + arenas.decay_time
          + arenas.bin.<i>.run_size
          + arenas.nlruns
          + arenas.lrun.<i>.size
          + arenas.nhchunks
          + arenas.hchunk.<i>.size
          + arenas.extend
          + stats.cactive
          + stats.arenas.<i>.lg_dirty_mult
          + stats.arenas.<i>.decay_time
          + stats.arenas.<i>.metadata.{mapped,allocated}
          + stats.arenas.<i>.{npurge,nmadvise,purged}
          + stats.arenas.<i>.huge.{allocated,nmalloc,ndalloc,nrequests}
          + stats.arenas.<i>.bins.<j>.{nruns,reruns,curruns}
          + stats.arenas.<i>.lruns.<j>.{nmalloc,ndalloc,nrequests,curruns}
          + stats.arenas.<i>.hchunks.<j>.{nmalloc,ndalloc,nrequests,curhch
            unks}
   Bug fixes:
     * Improve interval-based profile dump triggering to dump only one
       profile when a single allocation's size exceeds the interval.
       ([109]@jasone)
     * Use prefixed function names (as controlled by
       --with-jemalloc-prefix) when pruning backtrace frames in jeprof.
       ([110]@jasone)

OBS-URL: https://build.opensuse.org/request/show/531565
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jemalloc?expand=0&rev=53
2017-10-05 09:51:47 +00:00
Dominique Leuenberger
d11c762dba Accepting request 478563 from devel:libraries:c_c++
- Update to version 4.5.0
  New features:
  * Add --disable-thp and the opt.thp mallctl to provide opt-out
    mechanisms for transparent huge page integration.
  * Restructure *CFLAGS configuration, so that CFLAGS behaves
    typically, and EXTRA_CFLAGS provides a way to specify e.g. 
    -Werror during building, but not during configuration.
  Bug fixes:
  * Fix DSS (sbrk(2)-based) allocation. This regression was first
    released in 4.3.0.
  * Handle race in per size class utilization computation.
    This functionality was first released in 4.0.0.
  * Fix lock order reversal during gdump.
  * Fix/refactor tcache synchronization. This regression was
    first released in 4.0.0.
  * Fix various JSON-formatted malloc_stats_print() bugs.
    This functionality was first released in 4.3.0.
  * Fix huge-aligned allocation. This regression was first
    released in 4.4.0.
  * When transparent huge page integration is enabled, detect
    what state pages start in according to the kernel's current
    operating mode, and only convert arena chunks to non-huge
    during purging if that is not their initial state. 
    This functionality was first released in 4.4.0.
  * Fix lg_chunk clamping for the --enable-cache-oblivious
    --disable-fill case. This regression was first released 
    in 4.0.0.

OBS-URL: https://build.opensuse.org/request/show/478563
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jemalloc?expand=0&rev=22
2017-03-13 14:31:26 +00:00
Ismail Dönmez
fcea134e77 - Update to version 4.5.0
New features:
  * Add --disable-thp and the opt.thp mallctl to provide opt-out
    mechanisms for transparent huge page integration.
  * Restructure *CFLAGS configuration, so that CFLAGS behaves
    typically, and EXTRA_CFLAGS provides a way to specify e.g. 
    -Werror during building, but not during configuration.
  Bug fixes:
  * Fix DSS (sbrk(2)-based) allocation. This regression was first
    released in 4.3.0.
  * Handle race in per size class utilization computation.
    This functionality was first released in 4.0.0.
  * Fix lock order reversal during gdump.
  * Fix/refactor tcache synchronization. This regression was
    first released in 4.0.0.
  * Fix various JSON-formatted malloc_stats_print() bugs.
    This functionality was first released in 4.3.0.
  * Fix huge-aligned allocation. This regression was first
    released in 4.4.0.
  * When transparent huge page integration is enabled, detect
    what state pages start in according to the kernel's current
    operating mode, and only convert arena chunks to non-huge
    during purging if that is not their initial state. 
    This functionality was first released in 4.4.0.
  * Fix lg_chunk clamping for the --enable-cache-oblivious
    --disable-fill case. This regression was first released 
    in 4.0.0.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jemalloc?expand=0&rev=51
2017-03-10 19:54:21 +00:00
Dominique Leuenberger
511c2f220b Accepting request 443696 from devel:libraries:c_c++
- Update to version 4.4.0
  Optimizations:
  * Add extent serial numbers and use them where appropriate as a
    sort key that is higher priority than address, so that the
    allocation policy prefers older extents. This tends to improve
    locality (decrease fragmentation) when memory grows downward.
  * Refactor madvise(2) configuration so that MADV_FREE is detected
    and utilized on Linux 4.5 and newer.
  * Mark partially purged arena chunks as non-huge-page.
    This improves interaction with Linux's transparent huge page
    functionality.
  Bug fixes:
  * Fix size class computations for edge conditions involving
    extremely large allocations. This regression was first
    released in 4.0.0.
  * Remove overly restrictive assertions related to the cactive
    statistic. This regression was first released in 4.1.0.

OBS-URL: https://build.opensuse.org/request/show/443696
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jemalloc?expand=0&rev=21
2016-12-07 23:27:15 +00:00
Ismail Dönmez
1e121f641e - Update to version 4.4.0
Optimizations:
  * Add extent serial numbers and use them where appropriate as a
    sort key that is higher priority than address, so that the
    allocation policy prefers older extents. This tends to improve
    locality (decrease fragmentation) when memory grows downward.
  * Refactor madvise(2) configuration so that MADV_FREE is detected
    and utilized on Linux 4.5 and newer.
  * Mark partially purged arena chunks as non-huge-page.
    This improves interaction with Linux's transparent huge page
    functionality.
  Bug fixes:
  * Fix size class computations for edge conditions involving
    extremely large allocations. This regression was first
    released in 4.0.0.
  * Remove overly restrictive assertions related to the cactive
    statistic. This regression was first released in 4.1.0.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jemalloc?expand=0&rev=49
2016-12-04 12:12:30 +00:00
Dominique Leuenberger
aae812be55 Accepting request 440312 from devel:libraries:c_c++
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/440312
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jemalloc?expand=0&rev=20
2016-11-16 12:45:47 +00:00
Ismail Dönmez
9f53636d18 - Update to version 4.3.0
New features:
  * Add "J" (JSON) support to malloc_stats_print().
  * Add Cray compiler support.
  Optimizations:
  * Add/use adaptive spinning for bootstrapping and radix tree node
    initialization.
  Bugfixes:
  * Fix large allocation to search starting in the optimal size
    class heap, which can substantially reduce virtual memory churn
    and fragmentation.  This regression was first released in 4.0.0. 
  * Fix stats.arenas.<i>.nthreads accounting.
  * Fix and simplify decay-based purging.
  * Make DSS (sbrk(2)-related) operations lockless, which resolves
    potential deadlocks during thread exit.
  * Fix over-sized allocation of radix tree leaf nodes.
  * Fix over-sized allocation of arena_t (plus associated stats) data
    structures.
  * Fix EXTRA_CFLAGS to not affect configuration.
  * Fix a Valgrind integration bug.
  * Disallow 0x5a junk filling when running in Valgrind.
  * Fix a file descriptor leak on Linux.  This regression was
    first released in 4.2.0.
  * Fix static linking of jemalloc with glibc.
  * Use syscall(2) rather than {open,read,close}(2) during boot on Linux.
    This works around other libraries' system call wrappers performing
    reentrant allocation.
  * Fix OS X default zone replacement to work with OS X 10.12.
  * Fix cached memory management to avoid needless commit/decommit
    operations during purging, which resolves permanent virtual

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jemalloc?expand=0&rev=47
2016-11-08 07:01:33 +00:00
Ismail Dönmez
72898463c0 - Update to version 4.3.0
New features:
  * Add "J" (JSON) support to malloc_stats_print().
  * Add Cray compiler support.
  Optimizations:
  * Add/use adaptive spinning for bootstrapping and radix tree node
    initialization.
  Bugfixes:
  * Fix large allocation to search starting in the optimal size
    class heap, which can substantially reduce virtual memory churn
    and fragmentation.  This regression was first released in 4.0.0. 
  * Fix stats.arenas.<i>.nthreads accounting.
  * Fix and simplify decay-based purging.
  * Make DSS (sbrk(2)-related) operations lockless, which resolves
    potential deadlocks during thread exit.
  * Fix over-sized allocation of radix tree leaf nodes.
  * Fix over-sized allocation of arena_t (plus associated stats) data
    structures.
  * Fix EXTRA_CFLAGS to not affect configuration.
  * Fix a Valgrind integration bug.
  * Disallow 0x5a junk filling when running in Valgrind.
  * Fix a file descriptor leak on Linux.  This regression was
    first released in 4.2.0.
  * Fix static linking of jemalloc with glibc.
  * Use syscall(2) rather than {open,read,close}(2) during boot on Linux.
    This works around other libraries' system call wrappers performing
    reentrant allocation.
  * Fix OS X default zone replacement to work with OS X 10.12.
  * Fix cached memory management to avoid needless commit/decommit
    operations during purging, which resolves permanent virtual

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jemalloc?expand=0&rev=46
2016-11-05 05:51:33 +00:00
Dominique Leuenberger
3bc0395a55 Accepting request 400771 from devel:libraries:c_c++
- Update to version 4.2.1
  * Fix bootstrapping issues for configurations that require
    allocation during tsd initialization (e.g. --disable-tls).
  * Fix gettimeofday() version of nstime_update().
  * Fix Valgrind regressions in calloc() and chunk_alloc_wrapper().
  * Fix potential VM map fragmentation regression.
  * Fix opt_zero-triggered in-place huge reallocation zeroing.
  * Fix heap profiling context leaks in reallocation edge cases.

OBS-URL: https://build.opensuse.org/request/show/400771
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jemalloc?expand=0&rev=19
2016-06-12 16:51:52 +00:00
Ismail Dönmez
4573a330a6 - Update to version 4.2.1
* Fix bootstrapping issues for configurations that require
    allocation during tsd initialization (e.g. --disable-tls).
  * Fix gettimeofday() version of nstime_update().
  * Fix Valgrind regressions in calloc() and chunk_alloc_wrapper().
  * Fix potential VM map fragmentation regression.
  * Fix opt_zero-triggered in-place huge reallocation zeroing.
  * Fix heap profiling context leaks in reallocation edge cases.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jemalloc?expand=0&rev=44
2016-06-09 07:28:45 +00:00
Dominique Leuenberger
ddf626bc5c Accepting request 395107 from devel:libraries:c_c++
- Update to version 4.2.0
  * Add the arena.<i>.reset mallctl, which makes it possible to
    discard all of an arena's allocations in a single operation.
  * Add the stats.retained and stats.arenas.<i>.retained statistics.
  * Add the --with-version configure option.
  * Support --with-lg-page values larger than actual page size.
  * Use pairing heaps rather than red-black trees for various hot
    data structures.
  * Streamline fast paths of rtree operations.
  * Optimize the fast paths of calloc() and [m,d,sd]allocx().
  * Decommit unused virtual memory if the OS does not overcommit.
  * Specify MAP_NORESERVE on Linux if [heuristic] overcommit is active,
    in order to avoid unfortunate interactions during fork(2).
  * Fix chunk accounting related to triggering gdump profiles.
  * Link against librt for clock_gettime(2) if glibc < 2.17.
  * Scale leak report summary according to sampling probability.

OBS-URL: https://build.opensuse.org/request/show/395107
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jemalloc?expand=0&rev=18
2016-05-19 10:04:02 +00:00
Ismail Dönmez
31d2625f45 - Update to version 4.2.0
* Add the arena.<i>.reset mallctl, which makes it possible to
    discard all of an arena's allocations in a single operation.
  * Add the stats.retained and stats.arenas.<i>.retained statistics.
  * Add the --with-version configure option.
  * Support --with-lg-page values larger than actual page size.
  * Use pairing heaps rather than red-black trees for various hot
    data structures.
  * Streamline fast paths of rtree operations.
  * Optimize the fast paths of calloc() and [m,d,sd]allocx().
  * Decommit unused virtual memory if the OS does not overcommit.
  * Specify MAP_NORESERVE on Linux if [heuristic] overcommit is active,
    in order to avoid unfortunate interactions during fork(2).
  * Fix chunk accounting related to triggering gdump profiles.
  * Link against librt for clock_gettime(2) if glibc < 2.17.
  * Scale leak report summary according to sampling probability.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jemalloc?expand=0&rev=42
2016-05-13 07:03:21 +00:00
Dominique Leuenberger
dc6abc2c08 Accepting request 393541 from devel:libraries:c_c++
- Update to version 4.1.1

Retain style; mention parallel runs (can sometimes become an issue
in future runs if it turned out to be implemented incorrectly).

OBS-URL: https://build.opensuse.org/request/show/393541
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jemalloc?expand=0&rev=17
2016-05-08 08:39:18 +00:00
0346183294 - Restore previous styling
- Mention boosted %check in .changes

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jemalloc?expand=0&rev=40
2016-05-04 08:52:43 +00:00