malaikuangren

What is the purpose or drive to build thing like (xxx),How can it achieve the original goal of design?

2012年7月14日

JAVA Final KeyWord And Thread Safety

摘要: The JavafinalkeywordThe Javafinalkeyword is very loosely used to indicate that something "cannot change". Specifically— and perhaps confusingly from a language design point of view— it has a number of uses:it is used to indicate that aclass cannot be extended;it is used to indicate that am 阅读全文

posted @ 2012-07-14 18:16 malaikuangren 阅读(283) 评论(0) 推荐(0) 编辑
JAVA and .Net Complier Rearrange code lines feature.

摘要: In myprevious post. I have been talking about the .Net JIT re-order instructions feature. Actually . In java world .Thejavaccompiler has performs next to no optimisations.The JIT native compiler could re-order instructions where there is a memory ordering problem. However, the CPU also can re-order 阅读全文

posted @ 2012-07-14 14:25 malaikuangren 阅读(207) 评论(0) 推荐(0) 编辑