summaryrefslogtreecommitdiff
path: root/rts
diff options
context:
space:
mode:
authorTrịnh Tuấn Phương <lolo_vn@yahoo.co.uk>2019-04-26 05:43:41 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-05-30 16:43:31 -0400
commit8e42e98ec9b75787348672f44916d6f278fd245d (patch)
treee522aa7411612f59e04d751722076e0b6f37270f /rts
parent4212918096ab1a9eb5d7c9c35fa2441978fcd4b8 (diff)
downloadhaskell-8e42e98ec9b75787348672f44916d6f278fd245d.tar.gz
Apply suggestion to rts/CheckUnload.c
Diffstat (limited to 'rts')
-rw-r--r--rts/CheckUnload.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/rts/CheckUnload.c b/rts/CheckUnload.c
index 084e85b728..473e510f5e 100644
--- a/rts/CheckUnload.c
+++ b/rts/CheckUnload.c
@@ -38,7 +38,8 @@
// object as referenced so that it won't get unloaded in this round.
//
-//
+// Note [Speeding up checkUnload]
+// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// In certain circumstances, there may be a lot of unloaded ObjectCode structs
// chained in `unloaded_objects` (such as when users `:load` a module in a very
// big repo in GHCi). To speed up checking whether an address lies within any of