上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 77 下一页

histo浅大小

摘要: btrace sizeof 与jmap -histo 都是shallow size 阅读全文
posted @ 2024-05-15 15:04 silyvin 阅读(8) 评论(0) 推荐(0)

指针压缩

摘要: 1 查看 $ java -XX:+PrintCommandLineFlags -version -XX:-UseCompressedClassPointers -XX:-UseCompressedOops -XX:+UseCompressedClassPointers -XX:+UseCompres 阅读全文
posted @ 2024-05-15 14:10 silyvin 阅读(57) 评论(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 阅读(105) 评论(0) 推荐(0)

url编码(百分号编码)

摘要: https://blog.csdn.net/p312011150/article/details/78928003 通常如果一样东西需要编码,说明这样东西并不适合传输。原因多种多样,如Size过大,包含隐私数据,对于Url来说,之所以要进行编码,是因为Url中有些字符会引起歧义。 Url的编码格式采 阅读全文
posted @ 2024-04-29 17:06 silyvin 阅读(455) 评论(0) 推荐(0)

tomcat白名单(九)完结及篡改随机数的风险

摘要: about health check api: PeriodTLS termination modesprint boottcp tunnelhealth checkcomment before Sept 2023 edge http 20000 / http 20000 Sept 2023 - A 阅读全文
posted @ 2024-04-29 15:13 silyvin 阅读(8) 评论(0) 推荐(0)

leak(四)监控

摘要: 对(三)中1.1和1.2 进行监控,加上强制nopool配置 -Dio.netty.allocator.type=unpooled https://zhuanlan.zhihu.com/p/142028031 1 -XX:MaxDirectMemorySize=100k -Dio.netty.all 阅读全文
posted @ 2024-04-18 11:34 silyvin 阅读(14) 评论(0) 推荐(0)

leak(三)cleaner【yetdone】

摘要: 0 0.1 https://www.cnblogs.com/exmyth/p/14205361.html java.nio提供的DirectByteBuffer提供了sun.misc.Cleaner类的clean()方法,进行系统调用释放堆外内存,触发clean()方法的情况有2种 (1) 应用程序 阅读全文
posted @ 2024-04-15 16:40 silyvin 阅读(98) 评论(0) 推荐(0)

leak(二)netty java 11与监控

摘要: 0 为什么usedDirectMemory不好用 PlatformDependent.usedDirectMemory始终返回-1 跟踪下来,io.netty.util.internal.PlatformDependent0#hasDirectBufferNoCleanerConstructor始终 阅读全文
posted @ 2024-04-15 15:37 silyvin 阅读(174) 评论(0) 推荐(0)

leak(一)

摘要: 0 服务对外内存oom,但健康检测还能访问,因为健康检测走8081直接,走的jvm内存 1 使用netty自带的泄露参数 -Dio.netty.leakDetectionLevel=advanced https://zhuanlan.zhihu.com/p/624117573?utm_id=0 30 阅读全文
posted @ 2024-04-05 16:16 silyvin 阅读(35) 评论(0) 推荐(0)

tomcat类加载器及优先加载权

摘要: https://blog.csdn.net/MeBieber/article/details/105114645?utm_medium=distribute.pc_relevant.none-task-blog-2~default~baidujs_baidulandingword~default-1 阅读全文
posted @ 2024-03-19 14:07 silyvin 阅读(306) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 77 下一页