内存之谜Windows:一些程序集映射了两次或更多次... [英] The mystery of memory WIndows: some assemblies mapped twice or more...

查看:120
本文介绍了内存之谜Windows:一些程序集映射了两次或更多次...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经注意到使用ProcXP(VMMap)一些ASP.NET应用程序(.NET 4)
将某些程序集加载(或映射?)两次或更多次.

我使用带有AnyCPU选项的VS 2010(W7 x64),并在2008 R2 x64服​​务器上进行了测试....这两个应用程序均符合发布/调试选项,结果是相同的.

可以使用任何空白"(读取默认)ASP.NET应用程序来构建此"问题".

这里有一些例子:

https://www.dropbox.com/s/68hxmgwca97x3x7/img.zip

我发现的东西:
*是重定位的dll(读取重定基)
*图像类型为32位.
*此问题仅在x64系统中可见(在x32世界中不可见).

谁能让我知道或解释为什么程序集被映射两次(或多次),这是有原因的?

PS

如果需要,我可以提供空白/默认应用程序示例:).
请避免对外来的多态代码或汇编语言进行转基因..
Thx

I have noticed using the ProcXP (VMMap) that some ASP.NET applications (.NET 4)
load (or maps?) some assemblies twice or more.

I use VS 2010 (W7 x64), with the AnyCPU option and tested in 2008 R2 x64 server....the apps are both complied with release/debug options, the result it''s the same.

This "problem" can be build with any "blank" (read default) ASP.NET application.

here some examples:

https://www.dropbox.com/s/68hxmgwca97x3x7/img.zip

The things I found:
* are relocated dlls (read rebasing)
* Image Type is 32 bit.
* this problem is visible only in x64 systems (not in x32 world).

Could anyone let me know or explain why the assembly are mapped twice (or more), there is a reason ???

PS

if you need, I can provide the blank/default application sample :).
Please, avoid alien polymorphic code or assembler language genetically modified..
Thx

推荐答案

我认为这解决了以下问题:
https://connect.microsoft.com/VisualStudio/feedback/详细信息/780964/assemblies-loaded-twice-in-64bit-application [
i think that this solves the question:
https://connect.microsoft.com/VisualStudio/feedback/details/780964/assemblies-loaded-twice-in-64bit-application[^]


这篇关于内存之谜Windows:一些程序集映射了两次或更多次...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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