Imported Upstream version 4.4.0.40

Former-commit-id: 6427cc082e74df30afc535fd906a3494b74b0817
This commit is contained in:
Xamarin Public Jenkins
2016-03-16 12:38:19 -04:00
parent f3e3aab35a
commit a632333cc7
110 changed files with 1496 additions and 556 deletions

View File

@@ -530,15 +530,13 @@ sgen_init_tlab_info (SgenThreadInfo* info)
void
sgen_clear_tlabs (void)
{
SgenThreadInfo *info;
FOREACH_THREAD (info) {
/* A new TLAB will be allocated when the thread does its first allocation */
*info->tlab_start_addr = NULL;
*info->tlab_next_addr = NULL;
*info->tlab_temp_end_addr = NULL;
*info->tlab_real_end_addr = NULL;
} END_FOREACH_THREAD
} FOREACH_THREAD_END
}
void

View File

@@ -505,7 +505,6 @@ find_pinning_ref_from_thread (char *obj, size_t size)
{
#ifndef SGEN_WITHOUT_MONO
int j;
SgenThreadInfo *info;
char *endobj = obj + size;
FOREACH_THREAD (info) {
@@ -527,8 +526,8 @@ find_pinning_ref_from_thread (char *obj, size_t size)
if (w >= (mword)obj && w < (mword)obj + size)
SGEN_LOG (0, "Object %p referenced in saved reg %d of thread %p (id %p)", obj, j, info, (gpointer)mono_thread_info_get_tid (info));
} END_FOREACH_THREAD
}
}
} FOREACH_THREAD_END
#endif
}