GitLab will be upgraded to the 12.10.14-ce.0 on 28 Sept 2020 at 2.00pm (AEDT) to 2.30pm (AEDT). During the update, GitLab and Mattermost services will not be available. If you have any concerns with this, please talk to us at N110 (b) CSIT building.

Commit 05fd60cc authored by Isaac Oscar Gariano's avatar Isaac Oscar Gariano

Added MU_IMMIX_SPACE enviornment variable, and made pypy compile more

parent 0b05b96d
......@@ -318,11 +318,16 @@ impl<'a> VM {
/// initializes runtime
fn init_runtime(&self) {
use std::env;
// init gc
{
let ref options = self.vm_options;
let immixspace_size = match env::var("MU_IMMIX_SPACE") {
Ok(s) => s.parse::<usize>().unwrap(),
_ => options.flag_gc_immixspace_size
};
gc::gc_init(
options.flag_gc_immixspace_size,
immixspace_size,
options.flag_gc_lospace_size,
options.flag_gc_nthreads,
!options.flag_gc_disable_collection
......
......@@ -30,7 +30,7 @@ def test_PyPy():
flags = ['-O3', '--no-shared', '--backend=mu', '--mu-impl=zebu',
'--mu-vmargs', '--gc-immixspace-size=10737418240', '--mu-suplibdir=%(bin_dir)s' % globals()]
# flags = ['-O3', '--no-shared', '--backend=c', '--no-profopt']
args = ['--no-allworkingmodules']
args = ['--no-allworkingmodules', '--pybenchmodules']
cmd.extend(flags)
cmd.extend(['--output=%s' % target])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment