Skip to content

Commit 2ac8826

Browse files
committed
Update Ruby repo rev for eBPF-related commits
Update the revision of the Ruby repo. It includes C-side changes for exposing some tables and statistic information so that we can display more information on the eBPF timeline. Also fix formatting
1 parent 35f6c58 commit 2ac8826

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

mmtk/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ edition = "2021"
1212
# Metadata for the Ruby repository
1313
[package.metadata.ci-repos.ruby]
1414
repo = "mmtk/ruby" # This is used by actions/checkout, so the format is "owner/repo", not URL.
15-
rev = "0511ec851cd290fac520dbe5a862b409488e159e"
15+
rev = "9036b4e1a403fdcb8e6f171ee3376d7879351e80"
1616

1717
[lib]
1818
name = "mmtk_ruby"

mmtk/src/weak_proc.rs

+14-3
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,13 @@ impl WeakProcessor {
199199
(crate::upcalls().cleanup_generic_iv_tbl)();
200200
let new_size = (upcalls().st_get_num_entries)(generic_iv_tbl);
201201
log::debug!("Cleaning up global ivtbl entries ({new_size} entries after).");
202-
probe!(mmtk_ruby, update_generic_iv_tbl, items_moved, old_size, new_size);
202+
probe!(
203+
mmtk_ruby,
204+
update_generic_iv_tbl,
205+
items_moved,
206+
old_size,
207+
new_size
208+
);
203209
}
204210
}
205211

@@ -236,7 +242,7 @@ impl GCWork<Ruby> for ProcessObjFreeCandidates {
236242
}
237243

238244
let new_cands = new_candidates.len();
239-
*obj_free_candidates = new_candidates;
245+
*obj_free_candidates = new_candidates;
240246
probe!(mmtk_ruby, process_obj_free_candidates, old_cands, new_cands);
241247
}
242248
}
@@ -462,7 +468,12 @@ impl GCWork<Ruby> for UpdateWbUnprotectedObjectsList {
462468
let new_size = objects.len();
463469
debug!("Retained {new_size} live WB-unprotected objects.");
464470

465-
probe!(mmtk_ruby, update_wb_unprotected_objects_list, old_size, new_size);
471+
probe!(
472+
mmtk_ruby,
473+
update_wb_unprotected_objects_list,
474+
old_size,
475+
new_size
476+
);
466477
}
467478
}
468479

0 commit comments

Comments
 (0)