diff options
author | morozov1one <morozov1one@yandex-team.com> | 2024-11-29 20:28:24 +0300 |
---|---|---|
committer | morozov1one <morozov1one@yandex-team.com> | 2024-11-29 20:37:50 +0300 |
commit | 0924e1c53b7aec2c5efefe89499154b0a7e902f7 (patch) | |
tree | d41153892fac73aeed483b850203444f747bf54e /contrib/libs/mimalloc/.yandex_meta/licenses.list.txt | |
parent | c67888be3cb9ffde249bcc0ec11b1a2cde58f60b (diff) | |
download | ydb-0924e1c53b7aec2c5efefe89499154b0a7e902f7.tar.gz |
Upgrade mimalloc to 1.8.7
Ниже описал существенные изменения в поведении, которые я заметил (в сравнении с версией 1.7.2, которая лежит в контрибах сейчас)
Полный changelog можно посмотреть в [readme.md](http://readme.md)
* Поменялся дефолт у [опции](https://github.com/microsoft/mimalloc/blob/9cae0d31cd28476664dbaa6e4e6940b9d900842a/src/options.c#L109), определяющей то, как неиспользуемая память возвращается в систему. В старых версиях по умолчанию использовался madvise с флагом MADV_FREE, в свежих версиях же используется MADV_DONTNEED. Это может вызвать неожиданные изменения (в худшую сторону) на графиках потребляемой анонимной памяти (), хотя по факту потребление должно быть \+- одинаковым
* Алгоритм работы аллокатора претерпел некоторые изменения. Например, мы споткнулись об то, что в новой версии mimalloc выделяет себе 1Gb (размер задается [опцией](https://github.com/microsoft/mimalloc/blob/2765ec93026f445cad8f38e6b196dd226a1f6e61/src/options.c#L87)) памяти при первой же аллокации. Само по себе это мало на что влияет, но неприятности могут случиться, если звать в начале программы mlockall
commit_hash:dc6d945c1776c874e554f94b705c4e446b0a11d8
Diffstat (limited to 'contrib/libs/mimalloc/.yandex_meta/licenses.list.txt')
-rw-r--r-- | contrib/libs/mimalloc/.yandex_meta/licenses.list.txt | 27 |
1 files changed, 19 insertions, 8 deletions
diff --git a/contrib/libs/mimalloc/.yandex_meta/licenses.list.txt b/contrib/libs/mimalloc/.yandex_meta/licenses.list.txt index 3408919d8b..69648edbd5 100644 --- a/contrib/libs/mimalloc/.yandex_meta/licenses.list.txt +++ b/contrib/libs/mimalloc/.yandex_meta/licenses.list.txt @@ -5,47 +5,53 @@ terms of the MIT license. A copy of the license can be found in the file ====================COPYRIGHT==================== -Copyright (c) 2018-2020, Microsoft Research, Daan Leijen +Copyright (c) 2018-2021 Microsoft Corporation, Daan Leijen + + +====================COPYRIGHT==================== +Copyright (c) 2018-2021, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file ====================COPYRIGHT==================== -Copyright (c) 2018-2021 Microsoft Corporation, Daan Leijen +Copyright (c) 2018-2022, Microsoft Research, Daan Leijen +This is free software; you can redistribute it and/or modify it under the +terms of the MIT license. A copy of the license can be found in the file ====================COPYRIGHT==================== -Copyright (c) 2018-2021 Microsoft Research, Daan Leijen +Copyright (c) 2018-2023 Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file ====================COPYRIGHT==================== -Copyright (c) 2018-2021, Microsoft Research, Daan Leijen +Copyright (c) 2018-2023, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file ====================COPYRIGHT==================== -Copyright (c) 2019-2020 Microsoft Research, Daan Leijen +Copyright (c) 2018-2024, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file ====================COPYRIGHT==================== -Copyright (c) 2019-2020, Microsoft Research, Daan Leijen +Copyright (c) 2019-2021, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file ====================COPYRIGHT==================== -Copyright (c) 2019-2021 Microsoft Research, Daan Leijen +Copyright (c) 2019-2023 Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file ====================COPYRIGHT==================== -Copyright (c) 2019-2021, Microsoft Research, Daan Leijen +Copyright (c) 2019-2023, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file @@ -97,6 +103,11 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +====================MIT==================== +This is free software; you can redistribute it and/or modify it under the +terms of the MIT license. A copy of the license can be found in the file + + ====================MIT AND MIT==================== This is free software; you can redistribute it and/or modify it under the terms of the MIT license. A copy of the license can be found in the file |