From 12c18155f6a11afe4d1d4e88f6605818276e3a92 Mon Sep 17 00:00:00 2001 From: Ben Gamari <ben@smart-cactus.org> Date: Mon, 16 Dec 2019 21:29:04 +0000 Subject: [PATCH] rts/Updates: Set prediction of stg_upd_frame_info branch This is a very important branch yet it didn't have any prediction set. We predict the updated thunk to live in the young generation since this is how the original code predicted. --- rts/Updates.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rts/Updates.h b/rts/Updates.h index 91d1b0b1cbd6..029e43f80870 100644 --- a/rts/Updates.h +++ b/rts/Updates.h @@ -58,7 +58,7 @@ SET_INFO(p1, stg_BLACKHOLE_info); \ LDV_RECORD_CREATE(p1); \ bd = Bdescr(p1); \ - if (bdescr_gen_no(bd) != 0 :: bits16) { \ + if (bdescr_gen_no(bd) != 0 :: bits16) (likely: False) { \ recordMutableCap(p1, TO_W_(bdescr_gen_no(bd))); \ TICK_UPD_OLD_IND(); \ and_then; \ -- GitLab