There is a quantum harmonic oscillator such as the vibration of diatomic molecules. [1, 2] The molecular vibrations are quantized and the energy spectrum of the system is discrete, $\hbar\omega\left(n + 1/2 \right)$.
On the other hand, we have macroscopic classical harmonic oscillator such as the mass-spring system. I would be surprised if the vibrational energy of the mass-spring system is quantized. The system is in contact with the environment all the times but the harmonic motion keeps long enough time to prove that it is not affected by decoherence.
Why are the molecular vibrations quantized but not the mass-spring system? Does the size of the system matter? or is the size of the vibrational energy decisive? or is it the temperature breaking the quantization?
Or is the vibration of mass-spring system quantized actually?