4 ms·
This really needs 2007 attached. Things have changed a lot in the last 9 years
by takno 10y ago
This really needs 2007 attached. Things have changed a lot in the last 9 years
- dang 10y agoAt your service.
- stygiansonic 10y agoDo you have a link to or example of (major) changes that have happened since 2007? I understand that JSR-133/Java 5 updated/fixed the JMM considerably but was not aware of big changes since then. Thanks.
- takno 10y agoTo be honest I was thinking 2007 predated Java 5. It's been a busy old decade...
- happyslobro 10y agoAnd yet, we still have to tell the JVM how much memory it may use, and then watch as it consumes it all, regardless of what the program actually needed. I'm sure there must be reasonable sounding reasons for this, but I doubt they will explain why this was necessary only in Java, and not in any other cross platform VM (V8, compiled Python, etc)
- badlogic 10y agoWhat you describe has nothing to do with the Java Memory Model, but with GC tuning, which is an implementation detail. The JMM governs multi-threaded shared memory access semantics. C++11 also defines a MM, inspired by the JMM. V8 and Python are a long way from anything resembling an MM.