BitBltSimulation>>copyLoop, read ahead memory failure.

John M McIntosh johnmci at smalltalkconsulting.com
Fri Oct 13 05:10:09 UTC 2006


On 12-Oct-06, at 9:50 PM, Andreas Raab wrote:

> Yes, it has always been that way. copyLoop reads one word after the  
> end of the bitmap. It's never used but it'll attempt to touch the  
> memory.
>
> Cheers,
>   - Andreas

Ok, well should it read ?

		"This last section, if used, requires masking of the destination  
store..."
		(nWords > 1 and: [(preload and: [i=bbH]) not]) ifTrue: []

where we check preload and if the i value is equal to the height we  
don't do the prefetch?
Does that sound reasonable?


--
======================================================================== 
===
John M. McIntosh <johnmci at smalltalkconsulting.com>
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
======================================================================== 
===





More information about the Squeak-dev mailing list