Analysis - When does it happens?

So the refresh process takes the contents from the in-memory buffer (which already had gone through the analysis) and copy them to new in-memory segments?