6 years ago
Created attachment 548407 [details] [diff] [review] clear new uninitialized memory
Comment on attachment 548407 [details] [diff] [review] clear new uninitialized memory r=me
Tryserver is green except few intermittent failures. http://hg.mozilla.org/mozilla-central/rev/dd7d71277a15
Please set the target milestone when checking things in....
Comment on attachment 548407 [details] [diff] [review] clear new uninitialized memory >- // Clear the new empty entries >- for (PRUint32 i = count; i < newRecordsPerBucket; ++i) >- newRecords[i].SetHashNumber(0); I think this block is still necessary when newArray + bucketIndex * newRecordsPerBucket + i < mHeader.mRecordCount since these are old entries that are no longer used and may otherwise be confused with live entries.