Java Concurrency: Final
What does it mean by FINAL?
(Definition below only applicable to JDK6+)
1) Address of enclosing object not allowed to escape util final variable for initialized and change made to memory done
2) JVM can execute special CPU caching instruction
3) All change in constructor to final variable, even reference will be pushed to memory
Comments
Post a Comment