[EMAIL PROTECTED] writes:

>               if ((pageData == null) || (pageData.length != pageSize)) 
>          {
> +            // Give a chance for gc to release the old buffer
> +            pageData = null; 
>                       pageData = new byte[pageSize];

Out of curiosity (I have seen similar code changes go in before), why
does pageData need to be set to null to be garbage collected? Is this
a workaround for a bug on a certain JVM? If so, it would be good to
document it in a comment.

-- 
Knut Anders

Reply via email to