Using two sets of high-precision Monte Carlo data for the two-dimensional XY model in the Villain formulation on square L\ifmmode\times\else\texttimes\fi{}L lattices, the scaling behavior of the susceptibility \ensuremath{\chi} and correlation length \ensuremath{\xi} at the Kosterlitz-Thouless phase transition is analyzed with emphasis on multiplicative logarithmic corrections (ln L${)}^{\mathrm{\ensuremath{-}}2\mathrm{r}}$ in the finite-size scaling region and (ln \ensuremath{\xi}${)}^{\mathrm{\ensuremath{-}}2\mathrm{r}}$ in the high-temperature phase near criticality, respectively. By analyzing the susceptibility at criticality on lattices of size up to
5122 we obtain r=-0.0270(10), in agreement with recent work of Kenna and Irving on the finite-size scaling of Lee-Yang zeros in the cosine formulation of the XY model. By studying susceptibilities and correlation lengths up to \ensuremath{\xi}\ensuremath{\approx}140 in the high-temperature phase, however, we arrive at quite a different estimate of r=0.0560(17), which is in good agreement with recent analyses of thermodynamic Monte Carlo data and high-temperature series expansions of the cosine formulation.
With a large-scale Monte Carlo simulation, the aging of the two-dimensional dynamic Ising and XY models is numerically studied. Starting from a disordered state, the systems are quenched to critical temperature Tc and then evolve according to dynamics of model A. By calculating the autocorrelation function A(t,t′) we observe the aging phenomenon for both spin systems. Then, relatively accurate values of the dynamic critical exponent λc and z are estimated. Especially, we confirm that for the two-dimensional XY model, there is a strong logarithmic correction to scaling in the dynamic relaxation starting from a completely disordered.