2009/3/1 Ian Rogers
<ian.rogers@...>
Hi,
I'm interested in the interface to underlying OS operations used by MMTk:
dzmmap - demand zero mmap
mprotect - remove read/write protections to a region of memory
munprotect - allow read/write access to a region of memory
the equivalent Harmony interfaces are:
reserve - reserve a region of virtual memory for use
commit - allow access in a region previously reserved
uncommit - remove access to a region
for uncommit read decommit
for completeness there is unreserve (but MMTk has no munmap).
MMTk's dzmmap is equivalent to a reserve & commit, mprotect to uncommit, munprotect to commit. The Harmony interface more directly maps to that of Windows. It would make sense to me to push the Harmony naming convention through the RVM interface into MMTk's. I will provide a patch if other people agree.
Ian
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H_______________________________________________
Jikesrvm-core mailing list
Jikesrvm-core@...
https://lists.sourceforge.net/lists/listinfo/jikesrvm-core