projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5a07c6
)
[sgen] Clear the card table in the finishing pause
author
Vlad Brezae
<brezaevlad@gmail.com>
Wed, 23 Mar 2016 17:17:03 +0000
(19:17 +0200)
committer
Vlad Brezae
<brezaevlad@gmail.com>
Tue, 29 Mar 2016 05:47:57 +0000
(08:47 +0300)
It is not used during a major collection. The collector will add the necessary global remsets afterwards, for the nursery collections.
mono/sgen/sgen-gc.c
patch
|
blob
|
history
diff --git
a/mono/sgen/sgen-gc.c
b/mono/sgen/sgen-gc.c
index 89af85f4387d92646edc38554aa138dd0b9dbdec..e338508e349d08800e5bedd8454607fba4c795a3 100644
(file)
--- a/
mono/sgen/sgen-gc.c
+++ b/
mono/sgen/sgen-gc.c
@@
-1698,7
+1698,7
@@
major_copy_or_mark_from_roots (size_t *old_next_pin_slot, CopyOrMarkFromRootsMod
sgen_client_pre_collection_checks ();
- if (
!concurrent
) {
+ if (
mode != COPY_OR_MARK_FROM_ROOTS_START_CONCURRENT
) {
/* Remsets are not useful for a major collection */
remset.clear_cards ();
}