1 2 3 4 5 ··· 69 下一页

histo浅大小

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

指针压缩

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

url编码(百分号编码)

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

tomcat白名单(九)end

摘要: 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 阅读(1) 评论(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 阅读(2) 评论(0) 推荐(0) 编辑

leak(三)cleaner

摘要: 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 阅读(2) 评论(0) 推荐(0) 编辑

leak(二)netty java 11与监控

摘要: 0 为什么used不好用 PlatformDependent.usedDirectMemory始终返回-1 跟踪下来,io.netty.util.internal.PlatformDependent0#hasDirectBufferNoCleanerConstructor始终返回false 关于 m 阅读全文
posted @ 2024-04-15 15:37 silyvin 阅读(5) 评论(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 阅读(2) 评论(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 阅读(12) 评论(0) 推荐(0) 编辑
1 2 3 4 5 ··· 69 下一页