projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8aaa40b
)
[profile] Fix a regression from last commit.
author
Rodrigo Kumpera
<kumpera@gmail.com>
Wed, 20 Apr 2016 15:21:28 +0000
(08:21 -0700)
committer
Rodrigo Kumpera
<kumpera@gmail.com>
Wed, 20 Apr 2016 15:21:37 +0000
(08:21 -0700)
mono/profiler/proflog.c
patch
|
blob
|
history
diff --git
a/mono/profiler/proflog.c
b/mono/profiler/proflog.c
index 60cd375b66f72d8727c0efc16a6cfdd67b5897c3..23605903f4350f01b1a6c982b077a56648aae204 100644
(file)
--- a/
mono/profiler/proflog.c
+++ b/
mono/profiler/proflog.c
@@
-2090,6
+2090,7
@@
mono_sample_hit (MonoProfiler *profiler, unsigned char *ip, void *context)
sample = mono_lock_free_alloc (&profiler->sample_allocator);
sample->prof = profiler;
+ mono_lock_free_queue_node_init (&sample->node, TRUE);
InterlockedIncrement (&sample_allocations);
}