Is the memory model for Java a feature of the Java Programming Language or a feature of the JVM? Are JVM languages bound by the Java Memory Model or just The Java Programming Language?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Strictly speaking the Java Memory Model is part of the Java Language Specification as opposed to the Java Virtual Machine Specification. However, the JVM Spec depends heavily on the JLS to specify details of the operation and the Java Memory Model applies to every bytecode executed, no matter which language it was originally compiled from. Therefore all JVM languages are bound to it (or benefit from it, depending on how you look at it).