C#编译器和内存管理 [英] The C# compiler and memory management

查看:165
本文介绍了C#编译器和内存管理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对内存管理的话题做一个编译器的设计类。我阅读有关垃圾收集和发现,大多数低层次的东西发生与C / C ++ code。我对C#编译器的一些问题。

I'm doing a compiler design class on the topic of memory management. I am reading about garbage collection and noticed that most of that low level stuff takes place with C/C++ code. I have a few questions about the c# compiler.

  1. 在当时的.NET框架的一部分内存 管理写在C / C ++?
  2. 如何.NET管理内存?
  3. 请问其内部垃圾 收集使用的malloc()?
  4. 用什么方法垃圾收集 并在.NET Framework使用?
  1. Was .net framework part for memory management written in c/c++?
  2. How does .net manages memory?
  3. Does their internal garbage collection uses malloc()?
  4. What method of garbage collection does the .net framework use?

我可能会使用的答案产生新的问题,但我不知道如果我要建立一个新的问题或编辑这一块。

I'd probably use answers to generate new questions but I'm not sure If I should create a new question or edit this one.

推荐答案

请参见:

.NET Framework开发人员指南:自动内存管理

.NET Framework开发人员指南:垃圾收集

了解垃圾集合在.NET

这篇关于C#编译器和内存管理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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