Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:26
erlang
0322-delay_garbage_collection-delete-unused-par...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0322-delay_garbage_collection-delete-unused-parameter.patch of Package erlang
From a76e58ba9db2f32087845bca67fc1984de4a83b9 Mon Sep 17 00:00:00 2001 From: Ilya Klyuchnikov <ilya.klyuchnikov@gmail.com> Date: Fri, 1 Sep 2023 19:16:41 +0100 Subject: [PATCH] delay_garbage_collection: delete unused parameter --- 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 4b41d87ad5..89d11d29a5 100644 --- a/erts/emulator/beam/erl_gc.c +++ b/erts/emulator/beam/erl_gc.c @@ -496,7 +496,7 @@ static ERTS_INLINE void assert_no_active_writers(Process *p) #define ERTS_ABANDON_HEAP_COST 10 static int -delay_garbage_collection(Process *p, ErlHeapFragment *live_hf_end, int need, int fcalls) +delay_garbage_collection(Process *p, int need, int fcalls) { ErlHeapFragment *hfrag; Eterm *orig_heap, *orig_hend, *orig_htop, *orig_stop; @@ -708,7 +708,7 @@ garbage_collect(Process* p, ErlHeapFragment *live_hf_end, if ((p->flags & (F_DISABLE_GC|F_DELAY_GC)) || state & ERTS_PSFLG_EXITING) { delay_gc_before_start: - return delay_garbage_collection(p, live_hf_end, need, fcalls); + return delay_garbage_collection(p, need, fcalls); } ygen_usage = max_young_gen_usage ? max_young_gen_usage : young_gen_usage(p, &ext_msg_usage); @@ -810,7 +810,7 @@ do_major_collection: erts_atomic32_read_band_nob(&p->state, ~ERTS_PSFLG_GC); /* We have to make sure that we have space for need on the heap */ - res = delay_garbage_collection(p, live_hf_end, need, fcalls); + res = delay_garbage_collection(p, need, fcalls); ERTS_MSACC_POP_STATE(); return res; } -- 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