You're right. That's a big advantage of the JVM. It's memory safe even in presence of data races.
That post from Russ Cox (again) explains quite well why Go is not memory safe in presence of data races, and what should be changed to fix this:
https://research.swtch.com/gorace
That post from Russ Cox (again) explains quite well why Go is not memory safe in presence of data races, and what should be changed to fix this: https://research.swtch.com/gorace