【发布时间】:2016-03-16 12:28:38
【问题描述】:
我已经从source 在我的 CentOS 操作系统上安装了单声道版本 4.2.1.60,方法是首先下载 tarball,然后对提取的源文件执行sudo ./configure、sudo make 和 sudo make install。
配置return this,我觉得没问题
Engine:
Host: x86_64-unknown-linux-gnu
Target: x86_64-unknown-linux-gnu
GC: sgen and Included Boehm GC with typed GC and parallel mark
TLS: __thread
SIGALTSTACK: yes
Engine: Building and using the JIT
oprofile: no
BigArrays: no
DTrace: no
LLVM Back End: no (dynamically loaded: no)
Mono 本身与主要收集器 marksweep 一起运行良好。
但现在我想用 SGen 垃圾收集器运行单声道,它是一些测试的主要收集器 marksweep-par。这是我按照这个description做的:
export MONO_GC_PARAMS=major=marksweep-par
mono-sgen testApp.exe
不幸的是,单声道以这个警告开头
警告:在环境变量“MONO_GC_PARAMS”中:未知的主要收集器“marksweep-par”。 - 改用“marksweep”。
这当然不是我想要的。在查找此警告时,Google 没有回复我的答案。现在我的问题是,如何使用 marksweep-par 运行单声道。
我做错了什么?任何帮助表示赞赏。
【问题讨论】:
标签: c# linux mono garbage-collection