Kunshan Wang

Results 273 comments of Kunshan Wang

> This might not be an issue -- a mmapper guarantees the required pages to be mmapped, but it internally mmaps at the granularity of chunks. > > > we...

The map state transition in JikesRVM is ``` UNMAPPED ------> MAPPED PROTECTED ``` The transition from UNMAPPED to MAPPED happens monotonically for most spaces when `PageResource` allocates more pages. Since...

The PR https://github.com/mmtk/mmtk-core/pull/916 introduced a Python script to edit `Cargo.toml` to override the `mmtk` dependency, and it works. The Python script uses the `tomlkit` module for modifying TOML while preserving...

The [`tomli`](https://lib.rs/crates/tomli) crate is also a viable command line tool. From its official documentation, parsing `Cargo.toml` seems to be one of its primary purpose. `tomli` is not available on either...

`EmbeddedMetaData` was introduced back in JikesRVM by @steveblackburn in https://github.com/JikesRVM/JikesRVM/commit/9310277c in 2004. The idea was embedding metadata at the beginning of each "region", and the size of "region" should be...

> Better still keep it. My gut feeling is that there will be cases where we don't want to/can't quarantine addresses. > This is still useful for debugging imo. I...

> We could be quarantine the max heap size for each space. The overhead would be reasonable then. > You only need to quarantine the address range you intend on...

I agree with the part of using `tls: VMThread`. But what do you think about only visiting the values of reference fields instead of addresses? The write barriers are not...

> > But what do you think about only visiting the values of reference fields instead of addresses? > > I feel it is not a big issue. It is...

> > The problem is that some VM bindings cannot implement scan_object at all (at least not efficiently). > > How is this implemented for the Ruby binding right now?...