Vietnam's gross domestic product grew 8.39% in the second quarter from a year earlier, government data showed on Friday.