The mass spectrum of compact remnants from the PARSEC stellar evolution tracks