日期:2014-05-20  浏览次数:20739 次

收集一些java相关的文章

有些文章看了,以后想再看已经忘了在哪里了。故在此一一记录下那些值得看的文章。

?

?

1:如何确定Java对象的大小

中文版本 :http://article.yeeyan.org/view/104091/62930?from_com

原版:http://www.jroller.com/maxim/entry/again_about_determining_size_of

?

该文章中谈及了3种方法来确定java对象的大小,最后一种方法使用到了JDK提供的新的api。

该方法与visualVM以及btrace中的sizeOf方法得到的值都一样。

?

?

2:常用 Java Profiling 工具的分析与比较

http://www.ibm.com/developerworks/cn/java/j-lo-profiling/index.html?ca=drs

?

该文章列举出了一般profiling工具的思路,同时也对比了优缺点,为以后自己实现此类工具或者分析profiling工具结果有帮助

?

?

3:Understanding Java Garbage Collection

http://www.cubrid.org/blog/dev-platform/understanding-java-garbage-collection/

?

4:Understanding JVM Internals

http://www.cubrid.org/blog/dev-platform/understanding-jvm-internals/

?

?

5:How to Tune Java Garbage Collection

http://www.cubrid.org/blog/dev-platform/how-to-tune-java-garbage-collection/

?

?

6:How to Analyze Java Thread Dumps

http://www.cubrid.org/blog/dev-platform/how-to-analyze-java-thread-dumps/

?

?

7:从转储(Dump)文件中调试并除错

http://www.ibm.com/developerworks/cn/java/j-memoryanalyzer/index.html

?

8:Understanding OutOfMemoryError

http://www.kdgregory.com/index.php?page=java.outOfMemory

?

9:Byte Buffers and Non-Heap Memory

http://www.kdgregory.com/index.php?page=java.byteBuffer