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

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

问题描述

我正在做一个关于内存管理主题的编译器设计类。我正在阅读垃圾收集,并注意到,大多数低级别的东西发生与C / C ++代码。我有一些关于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框架使用什么垃圾回收方法

  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?

推荐答案

请参阅:

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

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

了解.NET中的垃圾收集

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

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