230String SubstringAuthor: Dr. Heinz M. KabutzDate: 2015-06-30Java Version: 8Category: Tips and Tricks Abstract: Java 7 quietly changed the structure of String. Instead of an offset and a count, the String now only contained a char[]. This had some harmful effects for those expecting substring() would always share the underlying char[]. Welcome to the 230th edition of The Java(tm) Specialists' New
229Cleaning ThreadLocalsAuthor: Dr. Heinz M. KabutzDate: 2015-05-23Java Version: 8Category: Tips and Tricks Abstract: ThreadLocals should in most cases be avoided. They can solve some tough problems, but can introduce some nasty memory leaks, especially if the ThreadLocal class or value refer to our own classes, not a system class. In this newsletter we show some mechanisms that help under OpenJDK
222Identity CrisisAuthor: Dr. Heinz M. KabutzDate: 2014-09-09Java Version: 6Category: Language Abstract: The JavaDocs for method Object.hashCode() seems to suggest that the value is somehow related to memory location. However, in this newsletter we discover that there are several different algorithms and that Java 8 has new defaults to give better threading result if we call hashCode a lot. Welcom
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く