[M3commit] CVS Update: cm3

Jay Krell jkrell at elego.de
Mon Jan 3 14:57:45 CET 2011


CVSROOT:	/usr/cvs
Changes by:	jkrell at birch.	11/01/03 14:57:45

Modified files:
	cm3/m3-libs/m3core/src/runtime/ALPHA_OSF/: RTMachine.i3 
	cm3/m3-libs/m3core/src/runtime/DS3100/: RTMachine.i3 
	cm3/m3-libs/m3core/src/runtime/NT386/: RTMachine.i3 
	cm3/m3-libs/m3core/src/runtime/SOLsun/: RTMachine.i3 
	cm3/m3-libs/m3core/src/runtime/common/: RTHeapRep.i3 
	                                        RTMachine.i3 

Log message:
	Use 64K pages everywhere -- less target dependent code, basically.
	
	The page size used to be target dependent when the garbage collector
	interacted with virtual memory.
	Now it is basically not machine dependent, except that on Windows
	we use VirtualAlloc, which always allocates on 64K boundaries,
	even if you ask for less than 64K, so allocation less than 64K
	ends up completely wasting memory.
	
	This could be viewed negatively as giving the Windows-dependent
	value to all targets. But I think it is ok.




More information about the M3commit mailing list