From: <dgr...@us...> - 2007-08-01 21:31:14
|
Revision: 13213 http://jikesrvm.svn.sourceforge.net/jikesrvm/?rev=13213&view=rev Author: dgrove-oss Date: 2007-08-01 14:31:12 -0700 (Wed, 01 Aug 2007) Log Message: ----------- take out some debug code Perry had left in years ago. Modified Paths: -------------- rvmroot/trunk/MMTk/src/org/mmtk/utility/heap/Mmapper.java Modified: rvmroot/trunk/MMTk/src/org/mmtk/utility/heap/Mmapper.java =================================================================== --- rvmroot/trunk/MMTk/src/org/mmtk/utility/heap/Mmapper.java 2007-08-01 19:55:58 UTC (rev 13212) +++ rvmroot/trunk/MMTk/src/org/mmtk/utility/heap/Mmapper.java 2007-08-01 21:31:12 UTC (rev 13213) @@ -123,11 +123,8 @@ lock.acquire(); // Log.writeln(mmapStart); // might have become MAPPED here - lock.check(100); if (mapped[chunk] == UNMAPPED) { - lock.check(101); int errno = VM.memory.dzmmap(mmapStart, MMAP_CHUNK_BYTES); - lock.check(102); if (errno != 0) { lock.release(); Log.write("ensureMapped failed with errno "); Log.write(errno); @@ -140,12 +137,9 @@ Log.write(" with len = "); Log.writeln(MMAP_CHUNK_BYTES); } } - lock.check(103); } if (mapped[chunk] == PROTECTED) { - lock.check(201); if (!VM.memory.munprotect(mmapStart, MMAP_CHUNK_BYTES)) { - lock.check(202); lock.release(); VM.assertions.fail("Mmapper.ensureMapped (unprotect) failed"); } @@ -156,9 +150,7 @@ } } } - lock.check(301); mapped[chunk] = MAPPED; - lock.check(302); lock.release(); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |