projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5d9e97
)
sgen: Don't report all pinned roots as stack roots.
author
Rolf Bjarne Kvinge
<rolf@xamarin.com>
Sat, 17 Dec 2011 01:56:17 +0000
(
02:56
+0100)
committer
Rolf Bjarne Kvinge
<rolf@xamarin.com>
Tue, 20 Dec 2011 01:28:18 +0000
(
02:28
+0100)
mono/metadata/sgen-gc.c
patch
|
blob
|
history
diff --git
a/mono/metadata/sgen-gc.c
b/mono/metadata/sgen-gc.c
index 8d423e0ec8016893017fe169aecbc2754e7060bc..5c284fc32dce82ad795240cfee7389e15cc51eb4 100644
(file)
--- a/
mono/metadata/sgen-gc.c
+++ b/
mono/metadata/sgen-gc.c
@@
-1795,7
+1795,7
@@
pin_objects_from_addresses (GCMemSection *section, void **start, void **end, voi
GCRootReport report;
report.count = 0;
for (idx = 0; idx < count; ++idx)
- add_profile_gc_root (&report, definitely_pinned [idx], MONO_PROFILE_GC_ROOT_PINNING, 0);
+ add_profile_gc_root (&report, definitely_pinned [idx], MONO_PROFILE_GC_ROOT_PINNING
| MONO_PROFILE_GC_ROOT_MISC
, 0);
notify_gc_roots (&report);
}
stat_pinned_objects += count;