2004-01-23 Zoltan Varga <vargaz@freemail.hu>
+ * profiler.c (merge_methods): Fix merging of profile info. Fixes #53010.
+
* loader.c (mono_lookup_pinvoke_call): Strip .dll from library names.
Fixes #22532.
MethodProfile *mprof;
AllocInfo *talloc_info, *alloc_info;
CallerInfo *tcaller_info, *caller_info;
-
+
mprof = g_hash_table_lookup (prof->methods, method);
if (!mprof) {
/* the master thread didn't see this method, just transfer the info as is */
caller_info = mono_mempool_alloc0 (prof->mempool, sizeof (CallerInfo));
*caller_info = *tcaller_info;
caller_info->next = mprof->caller_info;
- mprof->caller_info = caller_info->next;
+ mprof->caller_info = caller_info;
}
}
}