05 2024 档案

histo浅大小
摘要:btrace sizeof 与jmap -histo 都是shallow size 阅读全文

posted @ 2024-05-15 15:04 silyvin 阅读(2) 评论(0) 推荐(0) 编辑

指针压缩
摘要:1 查看 $ java -XX:+PrintCommandLineFlags -version -XX:-UseCompressedClassPointers -XX:-UseCompressedOops -XX:+UseCompressedClassPointers -XX:+UseCompres 阅读全文

posted @ 2024-05-15 14:10 silyvin 阅读(38) 评论(0) 推荐(0) 编辑

intern
摘要:9 static void test01(){ 10 String s1 = new String("1")+new String("23"); 11 s1.intern(); 12 String s2 = "123"; 13 System.out.println( s1 == s2);//true 阅读全文

posted @ 2024-05-10 14:34 silyvin 阅读(86) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示