Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:Ledest:erlang:24
erlang
7971-erts-Refactor-rename-a-shadowing-local-var...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 7971-erts-Refactor-rename-a-shadowing-local-variable.patch of Package erlang
From 7404c9ca402b3b2951d839f4ff6078986509e4bb Mon Sep 17 00:00:00 2001 From: Sverker Eriksson <sverker@erlang.org> Date: Thu, 15 Dec 2022 21:27:12 +0100 Subject: [PATCH 1/4] erts: Refactor rename a shadowing local variable --- erts/emulator/beam/erl_gc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/erts/emulator/beam/erl_gc.c b/erts/emulator/beam/erl_gc.c index b74eaccea8..14d16eb734 100644 --- a/erts/emulator/beam/erl_gc.c +++ b/erts/emulator/beam/erl_gc.c @@ -1472,13 +1472,13 @@ minor_collection(Process* p, ErlHeapFragment *live_hf_end, * This improved Estone by more than 1200 estones on my computer * (Ultra Sparc 10). */ - Uint new_sz = erts_next_heap_size(size_before, 1); + Uint n_old_sz = erts_next_heap_size(size_before, 1); /* Create new, empty old_heap */ n_old = (Eterm *) ERTS_HEAP_ALLOC(ERTS_ALC_T_OLD_HEAP, - sizeof(Eterm)*new_sz); + sizeof(Eterm)*n_old_sz); - OLD_HEND(p) = n_old + new_sz; + OLD_HEND(p) = n_old + n_old_sz; OLD_HEAP(p) = OLD_HTOP(p) = n_old; } -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor