{"id":168915,"date":"2026-04-16T11:12:42","date_gmt":"2026-04-16T09:12:42","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/jemalloc-5-3-1"},"modified":"2026-04-16T11:12:42","modified_gmt":"2026-04-16T09:12:42","slug":"jemalloc-5-3-1","status":"publish","type":"post","link":"https:\/\/prohoster.info\/da\/blog\/news\/jemalloc-5-3-1","title":{"rendered":"jemalloc 5.3.1","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><noindex>      <noindex><\/p>\n<p>Efter n\u00e6sten fire \u00e5rs pause (se &laquo;<a rel=\"nofollow\" href=\"https:\/\/www.linux.org.ru\/forum\/development\/17998612\">jemalloc alt<\/a>&raquo;) blev version 5.3.1 af allocatoren udgivet <a rel=\"nofollow\" href=\"https:\/\/jemalloc.net\">jemalloc<\/a> &ndash; implementeringen af malloc(3), hvor der s\u00e6ttes s\u00e6rlig fokus p\u00e5 at forhindre fragmentering og st\u00f8tte for skalerbar parallelitet.<\/p>\n<p><\/noindex><\/noindex> <\/p>\n<p>Den nye version inkluderer over 390 commits med fejlrettelser, nye funktioner, ydeevneoptimering og forbedret portabilitet.<\/p>\n<p>Projektet er skrevet i C og distribueres under BSD-licensen.<\/p>\n<p>Nye funktioner:<\/p>\n<ul>\n<li>underst\u00f8ttelse af pvalloc(3).<\/li>\n<li>opdagelse af dobbelt frigivelse af hukommelse i debug-build;<\/li>\n<li>tilf\u00f8jet kompileringsmulighed &#8212;enable-pageid for at aktivere annotation af vist hukommelse.<\/li>\n<li>tilf\u00f8jet runtime-parameteren prof_bt_max til styring af den maksimale dybde af stakken til profilering;<\/li>\n<li>tilf\u00f8jet kompileringsmulighed &#8212;enable-force-getenv for at bruge getenv i stedet for secure_getenv;<\/li>\n<li>tilf\u00f8jet kompileringsmulighed &#8212;disable-dss for at deaktivere brugen af sbrk(2);<\/li>\n<li>tilf\u00f8jet kompilationsmuligheden tcache_ncached_max til at styre antallet af elementer i tr\u00e5dcache.<\/li>\n<li>tilf\u00f8jet runtime-parameteren calloc_madvise_threshold til at bestemme, om kernen eller memset bruges til at nulstille tildelte hukommelsesblokke ved anrop af calloc;<\/li>\n<li>tilf\u00f8jet kompileringsmulighed &#8212;disable-user-config for at deaktivere indl\u00e6sning af konfigurationer fra filen \/etc\/malloc.conf eller fra milj\u00f8variablen MALLOC_CONF ved k\u00f8rsel;<\/li>\n<li>tilf\u00f8jet runtime-parameteren disable_large_size_classes for at sikre, at den nye algoritme til beregning af tilg\u00e6ngelig st\u00f8rrelse fungerer, hvilket minimerer overhead af hukommelse ved tildeling af store hukommelsesblokke, dvs. med st\u00f8rrelse &gt;= 4 * PAGE;<\/li>\n<li>brugen af process_madvise er aktiveret og der er tilf\u00f8jet runtime-parameteren process_madvise_max_batch for at styre det maksimale antal hukommelsesregioner i hver &laquo;batch&raquo; madvise;<\/li>\n<li>tilf\u00f8jet interfaces mallctl:\n<ul>\n<li>opt.prof_bt_max;<\/li>\n<li>arena.&lt;i&gt;.name for at \u00e6ndre og hente navne p\u00e5 &laquo;arenaer&raquo;;<\/li>\n<li>thread.tcache.max for at \u00e6ndre og f\u00e5 tcache_max for den aktuelle tr\u00e5d;<\/li>\n<li>thread.tcache.ncached_max.write og thread.tcache.ncached_max.read_sizeclass for at \u00e6ndre og f\u00e5 ncached_max for den aktuelle tr\u00e5d;<\/li>\n<li>arenas.hugepage for at returnere den bruges st\u00f8rrelse af hugepage, og ogs\u00e5 eksportere det til malloc-statistikken;<\/li>\n<li>approximate_stats.active for at f\u00e5 et omtrentligt v\u00e6rdi af det nuv\u00e6rende volumen af aktive bytes, som ikke b\u00f8r sammenlignes med andre hentede statistikker.<\/li>\n<\/ul>\n<\/li>\n<li>mange fejl er ogs\u00e5 blevet rettet, og dokumentationen er blevet forbedret.<\/li>\n<\/ul>\n<p>Kilde: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.linux.org.ru\/news\/development\/18266167\">linux.org.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041f\u043e\u0441\u043b\u0435 \u043f\u043e\u0447\u0442\u0438 \u0447\u0435\u0442\u044b\u0440\u0451\u0445\u043b\u0435\u0442\u043d\u0435\u0439 \u043f\u0430\u0443\u0437\u044b (\u0441\u043c. &laquo;jemalloc \u0432\u0441\u0451&raquo;) \u0441\u043e\u0441\u0442\u043e\u044f\u043b\u0441\u044f \u0432\u044b\u043f\u0443\u0441\u043a 5.3.1 \u0430\u043b\u043b\u043e\u043a\u0430\u0442\u043e\u0440\u0430 jemalloc &ndash; \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 malloc(3), \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043e\u0441\u043e\u0431\u043e\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u0443\u0434\u0435\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0440\u0435\u0434\u043e\u0442\u0432\u0440\u0430\u0449\u0435\u043d\u0438\u044e \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0435 \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u0443\u0435\u043c\u043e\u0439 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438. \u041d\u043e\u0432\u044b\u0439 \u0432\u044b\u043f\u0443\u0441\u043a \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0432 \u0441\u0435\u0431\u044f \u0431\u043e\u043b\u0435\u0435 390 \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432 \u0441 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u043e\u0448\u0438\u0431\u043e\u043a, \u043d\u043e\u0432\u044b\u043c\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c\u0438, \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0438 \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u0435\u043c \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0438\u043c\u043e\u0441\u0442\u0438. \u041f\u0440\u043e\u0435\u043a\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 \u0421 \u0438 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u044f\u0435\u0442\u0441\u044f \u043f\u043e \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0438 BSD. \u041d\u043e\u0432\u044b\u0435 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-168915","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041f\u043e\u0441\u043b\u0435 \u043f\u043e\u0447\u0442\u0438 \u0447\u0435\u0442\u044b\u0440\u0451\u0445\u043b\u0435\u0442\u043d\u0435\u0439 \u043f\u0430\u0443\u0437\u044b (\u0441\u043c.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Erik Peterson\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/da\/blog\/news\/jemalloc-5-3-1\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"da_DK\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47jemalloc 5.3.1 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041f\u043e\u0441\u043b\u0435 \u043f\u043e\u0447\u0442\u0438 \u0447\u0435\u0442\u044b\u0440\u0451\u0445\u043b\u0435\u0442\u043d\u0435\u0439 \u043f\u0430\u0443\u0437\u044b (\u0441\u043c.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/da\/blog\/news\/jemalloc-5-3-1\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-04-16T09:12:42+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-04-16T09:12:42+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47jemalloc 5.3.1 | ProHoster","description":"Efter n\u00e6sten fire \u00e5rs pause (se.","canonical_url":"https:\/\/prohoster.info\/da\/blog\/news\/jemalloc-5-3-1","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"da_DK","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47jemalloc 5.3.1 | ProHoster","og:description":"\u041f\u043e\u0441\u043b\u0435 \u043f\u043e\u0447\u0442\u0438 \u0447\u0435\u0442\u044b\u0440\u0451\u0445\u043b\u0435\u0442\u043d\u0435\u0439 \u043f\u0430\u0443\u0437\u044b (\u0441\u043c.","og:url":"https:\/\/prohoster.info\/da\/blog\/news\/jemalloc-5-3-1","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2026-04-16T09:12:42+00:00","article:modified_time":"2026-04-16T09:12:42+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":[],"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/da\/wp-json\/wp\/v2\/posts\/168915","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/da\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/da\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/da\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/da\/wp-json\/wp\/v2\/comments?post=168915"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/da\/wp-json\/wp\/v2\/posts\/168915\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/da\/wp-json\/wp\/v2\/media?parent=168915"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/da\/wp-json\/wp\/v2\/categories?post=168915"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/da\/wp-json\/wp\/v2\/tags?post=168915"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}