我如何验证ryujit是jitting我的应用程序? [英] How do I verify that ryujit is jitting my app?

查看:177
本文介绍了我如何验证ryujit是jitting我的应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了用于.NET RyuJit新的JIT编译器,并设置为在安装文档中描述的AltJit = *键.NetFramework在注册表编辑器。
的http:// blogs.msdn.com/b/dotnet/archive/2013/09/30/ryujit-the-next-generation-jit-compiler.aspx

I've installed the new Jit compiler for .NET RyuJit, and setup the AltJit=* key in .NetFramework in regedit as described in the installation docs. http://blogs.msdn.com/b/dotnet/archive/2013/09/30/ryujit-the-next-generation-jit-compiler.aspx

?让我怎么验证实际上是beeing使用的RyuJit

So how do I verify that RyuJit is actually beeing used?

推荐答案

设置与项目+属性一个什么都不做的项目:

Setup a do-nothing project with Project + Properties:


  • Build选项卡,取消勾选身高32位复选框

  • 调试选项卡,勾选启用原生代码调试

调试+步执行。输出窗口显示越来越加载的DLL。这条线路是你在找什么:

Debug + Step Into. The Output window shows DLLs getting loaded. This line is what you are looking for:

ConsoleApplication1.exe中:已加载C:\Windows\Microsoft.NET\\ \\Framework64\v4.0.30319\protojit.dll,无法找到或打开PDB文件。

'ConsoleApplication1.exe': Loaded 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\protojit.dll', Cannot find or open the PDB file.

从调试也可见+的Windows +模块调试器窗口。 protojit.dll 是新抖动的名称。准确的CTP2版本,如果它仍然是原一旦开始出货我无法猜测。

Also visible from the Debug + Windows + Modules debugger window. protojit.dll is the name of the new jitter. Accurate for the CTP2 version, I can't guess if it will still be "proto" once it starts shipping.

更新:现在出货.NET 4.6。它会替代使用clrjit.dll名原抖动。旧版本仍然存在,当新的抖动造成的麻烦,它的名字是compatjit.dll可以使用。在更多细节这篇文章

Update: now shipping in .NET 4.6. It substitutes the original jitter using the clrjit.dll filename. The legacy version is still around and can be used when the new jitter causes trouble, its name is compatjit.dll. More details in this post.

这篇关于我如何验证ryujit是jitting我的应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆