You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by va...@apache.org on 2023/11/19 07:52:22 UTC
(couchdb-recon) tag 2.5.4 created (now 685b823)
This is an automated email from the ASF dual-hosted git repository.
vatamane pushed a change to tag 2.5.4
in repository https://gitbox.apache.org/repos/asf/couchdb-recon.git
at 685b823 (commit)
This tag includes the following new commits:
new 59c59ba Include erts_mmap in snapshot to help debug VM issues
new 43ad8ef Bump some versions for CI
new 3403b1b Fix dialyzer error in 26
new 954cf71 Merge pull request #106 from garazdawi/master
new 685b823 Bump to 2.5.4
The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(couchdb-recon) 01/05: Include erts_mmap in snapshot to help debug VM issues
Posted by va...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
vatamane pushed a commit to tag 2.5.4
in repository https://gitbox.apache.org/repos/asf/couchdb-recon.git
commit 59c59baafe792f0ca3b24e8260938c17f6f85b2a
Author: Lukas Larsson <lu...@erlang.org>
AuthorDate: Wed Aug 30 20:53:59 2023 +0200
Include erts_mmap in snapshot to help debug VM issues
---
src/recon_alloc.erl | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/src/recon_alloc.erl b/src/recon_alloc.erl
index 0b758dd..0cd16e8 100644
--- a/src/recon_alloc.erl
+++ b/src/recon_alloc.erl
@@ -369,11 +369,13 @@ sbcs_to_mbcs(Keyword) ->
allocators() ->
UtilAllocators = erlang:system_info(alloc_util_allocators),
Allocators = [sys_alloc,mseg_alloc|UtilAllocators],
- [{{A,N}, format_alloc(A, Props)} ||
- A <- Allocators,
- Allocs <- [erlang:system_info({allocator,A})],
- Allocs =/= false,
- {_,N,Props} <- Allocs].
+ try [{{erts_mmap,0},erlang:system_info({allocator,erts_mmap})}]
+ catch error:badarg -> [] end ++
+ [{{A,N}, format_alloc(A, Props)} ||
+ A <- Allocators,
+ Allocs <- [erlang:system_info({allocator,A})],
+ Allocs =/= false,
+ {_,N,Props} <- Allocs].
format_alloc(Alloc, Props) ->
%% {versions,_,_} is implicitly deleted in order to allow the use of the
@@ -638,6 +640,8 @@ conv_mem(Mem,Factor) ->
conv_alloc([{{sys_alloc,_I},_Props} = Alloc|R], Factor) ->
[Alloc|conv_alloc(R,Factor)];
+conv_alloc([{{erts_mmap,_I},_Props} = Alloc|R], Factor) ->
+ [Alloc|conv_alloc(R,Factor)];
conv_alloc([{{mseg_alloc,_I} = AI,Props}|R], Factor) ->
MemKind = orddict:fetch(memkind,Props),
Status = orddict:fetch(status,MemKind),
(couchdb-recon) 04/05: Merge pull request #106 from garazdawi/master
Posted by va...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
vatamane pushed a commit to tag 2.5.4
in repository https://gitbox.apache.org/repos/asf/couchdb-recon.git
commit 954cf7110d1c9df127487ac1d09722bfded1b52d
Merge: 9efec26 3403b1b
Author: Fred Hebert <mo...@ferd.ca>
AuthorDate: Thu Aug 31 18:34:03 2023 -0400
Merge pull request #106 from garazdawi/master
Include erts_mmap in snapshot to help debug VM issues
.github/workflows/ci.yml | 2 +-
src/recon.erl | 1 +
src/recon_alloc.erl | 14 +++++++++-----
3 files changed, 11 insertions(+), 6 deletions(-)
(couchdb-recon) 03/05: Fix dialyzer error in 26
Posted by va...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
vatamane pushed a commit to tag 2.5.4
in repository https://gitbox.apache.org/repos/asf/couchdb-recon.git
commit 3403b1b0409f931282ea71e3839fd2d53c4f44e4
Author: Lukas Larsson <lu...@erlang.org>
AuthorDate: Wed Aug 30 21:42:16 2023 +0200
Fix dialyzer error in 26
---
src/recon.erl | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/recon.erl b/src/recon.erl
index ee93d94..a1c067c 100644
--- a/src/recon.erl
+++ b/src/recon.erl
@@ -514,6 +514,7 @@ source(Module) ->
Path = code:which(Module),
{ok,{_,[{abstract_code,{_,AC}}]}} = beam_lib:chunks(Path, [abstract_code]),
erl_prettypr:format(erl_syntax:form_list(AC)).
+-dialyzer({nowarn_function, source/1}).
%%% Ports Info %%%
(couchdb-recon) 05/05: Bump to 2.5.4
Posted by va...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
vatamane pushed a commit to tag 2.5.4
in repository https://gitbox.apache.org/repos/asf/couchdb-recon.git
commit 685b823a15aa7d018c32d40439edc049ad40b6ab
Author: Fred Hebert <mo...@ferd.ca>
AuthorDate: Tue Sep 5 13:36:46 2023 +0000
Bump to 2.5.4
---
CHANGELOG.md | 3 +++
mix.exs | 2 +-
src/recon.app.src | 2 +-
3 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index bdb590a..394edf0 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,9 @@ Branches are organized by version. `master` contains the bleeding edge, `2.x`
contains all stable changes up to the latest release of v2, and `1.x` contains
all stable changes of the first version of Recon.
+## 2.5.4
+ - [Include `erts_mmap` in snapshots to help debug memory issues](https://github.com/ferd/recon/pull/106) (thanks to @garazdawi)
+
## 2.5.3
- [Handle dead processes in `recon:info/2` types and edge cases](https://github.com/ferd/recon/pull/97)
- [Reworking documentation structure to support `ex_doc` and fit in with hex standard](https://github.com/ferd/recon/pull/103)
diff --git a/mix.exs b/mix.exs
index bd69784..770efa8 100644
--- a/mix.exs
+++ b/mix.exs
@@ -5,7 +5,7 @@ defmodule Recon.MixProject do
[
app: :recon,
description: "Diagnostic tools for production use",
- version: "2.5.3",
+ version: "2.5.4",
language: :erlang,
deps: []
]
diff --git a/src/recon.app.src b/src/recon.app.src
index 9fab2f5..97705b2 100644
--- a/src/recon.app.src
+++ b/src/recon.app.src
@@ -1,6 +1,6 @@
{application, recon,
[{description, "Diagnostic tools for production use"},
- {vsn, "2.5.3"},
+ {vsn, "2.5.4"},
{modules, [recon, recon_alloc, recon_lib, recon_trace, recon_rec]},
{registered, []},
{applications, [kernel, stdlib]},
(couchdb-recon) 02/05: Bump some versions for CI
Posted by va...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
vatamane pushed a commit to tag 2.5.4
in repository https://gitbox.apache.org/repos/asf/couchdb-recon.git
commit 43ad8efdbf0e537ee4ff680ad9a2042f8289fb9c
Author: Lukas Larsson <lu...@erlang.org>
AuthorDate: Wed Aug 30 21:20:45 2023 +0200
Bump some versions for CI
---
.github/workflows/ci.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 43ff202..96665f5 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -15,7 +15,7 @@ jobs:
image: erlang:${{matrix.otp_vsn}}
strategy:
matrix:
- otp_vsn: ['18.3', '19.3', '20.3', '21.3', '22.3', '23.3', '24.0', '25.0']
+ otp_vsn: ['18.3', '19.3', '20.3', '21.3', '22.3', '23.3', '24.3', '25.3', '26.0.2']
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v2