mono --llvm --compile-all -v -v -v -v(before and after the change) and get a diff (how many and which methods were modified). The CoreCLR folks use such tools for all jit related PRs
-O2set of opt for LLVM JIT
Vector128<T>.Count= 128 / (sizeof(T) * :sunglasses:
Microsoft.CSharp.Core.targetsis not there
/* Try to allocate code chunks next to each other to help the VM */ ptr = NULL; if (last) ptr = codechunk_valloc ((guint8*)last->data + last->size, chunk_size); if (!ptr) ptr = codechunk_valloc (NULL, chunk_size); if (!ptr) return NULL;
The kernel virtual memory manager or the Mono virtual machine?
The kernel virtual memory manager surely will help itself most with NULL there.
I imagine it is the map32bit stuff for amd64, so the Mono virtual machine.
Comments should/could be clearer imho.
As well, only systems that use the map32bit stuff should have this logic, I think.