projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #2871 from BrzVlad/feature-conc-sweep-nrs
[mono.git]
/
mono
/
sgen
/
sgen-pinning-stats.c
diff --git
a/mono/sgen/sgen-pinning-stats.c
b/mono/sgen/sgen-pinning-stats.c
index 1808015c59ccd0e061a3fc91d982530256fb4074..ab00a56d66dd26cca6eb188000031cde4e95d3f0 100644
(file)
--- a/
mono/sgen/sgen-pinning-stats.c
+++ b/
mono/sgen/sgen-pinning-stats.c
@@
-85,6
+85,8
@@
sgen_pin_stats_register_address (char *addr, int pin_type)
PinStatAddress *node;
int pin_type_bit = 1 << pin_type;
+ if (!do_pin_stats)
+ return;
while (*node_ptr) {
node = *node_ptr;
if (addr == node->addr) {