{"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\/sv\/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\u00e4stan fyra \u00e5rs pausering (se &laquo;<a rel=\"nofollow\" href=\"https:\/\/www.linux.org.ru\/forum\/development\/17998612\">jemalloc allt<\/a>&raquo;) har lanseringen av 5.3.1-allokatorn <a rel=\"nofollow\" href=\"https:\/\/jemalloc.net\">jemalloc<\/a> \u2013 en implementation av malloc(3), d\u00e4r s\u00e4rskild uppm\u00e4rksamhet \u00e4gnas \u00e5t att f\u00f6rhindra fragmentering och st\u00f6d f\u00f6r skalbar parallellitet.<\/p>\n<p><\/noindex><\/noindex> <\/p>\n<p>Den nya versionen inkluderar fler \u00e4n 390 commits med buggfixar, nya funktioner, prestandaoptimeringar och f\u00f6rb\u00e4ttrad portabilitet.<\/p>\n<p>Projektet \u00e4r skrivet i C och distribueras under BSD-licensen.<\/p>\n<p>Nya funktioner:<\/p>\n<ul>\n<li>st\u00f6d f\u00f6r pvalloc(3).<\/li>\n<li>detektering av dubbel minnesfrisl\u00e4ppning i debug-build;<\/li>\n<li>en ny kompilationsoption &mdash;enable-pageid har lagts till f\u00f6r att aktivera annotation av visad minne.<\/li>\n<li>en runtime-parameter prof_bt_max f\u00f6r att styra den maximala stackdjupet f\u00f6r profilering har lagts till;<\/li>\n<li>en ny kompilationsoption &mdash;enable-force-getenv har lagts till f\u00f6r att anv\u00e4nda getenv ist\u00e4llet f\u00f6r secure_getenv;<\/li>\n<li>en ny kompilationsoption &mdash;disable-dss har lagts till f\u00f6r att st\u00e4nga av anv\u00e4ndningen av sbrk(2);<\/li>\n<li>en kompilationsparameter tcache_ncached_max har lagts till f\u00f6r att styra antalet element i tr\u00e5dk\u00f6ket.<\/li>\n<li>en runtime-parameter calloc_madvise_threshold har lagts till f\u00f6r att best\u00e4mma om kernel eller memset anv\u00e4nds f\u00f6r att nollst\u00e4lla allokerade minnesblock vid anrop av calloc;<\/li>\n<li>en ny kompilationsoption &mdash;disable-user-config har lagts till f\u00f6r att st\u00e4nga av l\u00e4sning av konfigurationer i realtid fr\u00e5n filen \/etc\/malloc.conf eller fr\u00e5n milj\u00f6variabeln MALLOC_CONF;<\/li>\n<li>en runtime-parameter disable_large_size_classes har lagts till f\u00f6r att s\u00e4kerst\u00e4lla att den nya algoritmen f\u00f6r ber\u00e4kning av tillg\u00e4nglig storlek fungerar, vilket minimerar minnesoverhead vid allokering av stora minnesblock, det vill s\u00e4ga med storlek &gt;= 4 * PAGE;<\/li>\n<li>anv\u00e4ndning av process_madvise har aktiverats och en runtime-parameter process_madvise_max_batch har lagts till f\u00f6r att hantera det maximala antalet minnesomr\u00e5den i varje &laquo;batch&raquo; madvise;<\/li>\n<li>mallctl-gr\u00e4nssnitt har lagts till:\n<ul>\n<li>opt.prof_bt_max;<\/li>\n<li>arena.&lt;i&gt;.name f\u00f6r att \u00e4ndra och h\u00e4mta namn p\u00e5 &laquo;arenor&raquo;;<\/li>\n<li>thread.tcache.max f\u00f6r att \u00e4ndra och h\u00e4mta tcache_max f\u00f6r den aktuella tr\u00e5den;<\/li>\n<li>thread.tcache.ncached_max.write och thread.tcache.ncached_max.read_sizeclass f\u00f6r att \u00e4ndra och h\u00e4mta ncached_max f\u00f6r den aktuella tr\u00e5den;<\/li>\n<li>arenas.hugepage f\u00f6r att \u00e5terge den anv\u00e4nda storleken av hugepage, \u00e4ven exporterade till malloc-statistik;<\/li>\n<li>approximate_stats.active f\u00f6r att f\u00e5 ett ungef\u00e4rligt v\u00e4rde av den nuvarande m\u00e4ngden aktiva bytes, som inte b\u00f6r j\u00e4mf\u00f6ras med andra f\u00e5ngade statistiska data.<\/li>\n<\/ul>\n<\/li>\n<li>m\u00e5nga buggar har ocks\u00e5 \u00e5tg\u00e4rdats och dokumentationen har f\u00f6rb\u00e4ttrats.<\/li>\n<\/ul>\n<p>K\u00e4lla: <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.4 - 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\/sv\/blog\/news\/jemalloc-5-3-1\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.4\" \/>\n\t\t<meta property=\"og:locale\" content=\"sv_SE\" \/>\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\/sv\/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\u00e4stan fyra \u00e5rs paus (se","canonical_url":"https:\/\/prohoster.info\/sv\/blog\/news\/jemalloc-5-3-1","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"sv_SE","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\/sv\/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\/sv\/wp-json\/wp\/v2\/posts\/168915","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/comments?post=168915"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/posts\/168915\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/media?parent=168915"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/categories?post=168915"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/tags?post=168915"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}