摘要: 1. 热更新代码 # 反编译$ jad --source-only com.example.demo.arthas.user.UserController > /tmp/UserController.java# 修改文件$ vim /tmp/UserController.java# 查找加载的 Cl 阅读全文
posted @ 2021-05-12 16:20 软件匠工 阅读(49) 评论(0) 推荐(0) 编辑
摘要: 1. 下载压缩包: https://github.com/jvm-profiling-tools/async-profiler 2. 配置探针: java -agentpath:/root/build/libasyncProfiler.so=start,svg,file=profile.svg -j 阅读全文
posted @ 2021-01-17 22:23 软件匠工 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 官方: https://blogs.oracle.com/poonam/understanding-g1-gc-logs redhat : 原文: https://www.redhat.com/en/blog/collecting-and-reading-g1-garbage-collector-l 阅读全文
posted @ 2020-10-14 13:47 软件匠工 阅读(160) 评论(0) 推荐(0) 编辑
摘要: -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintGCApplicationConcurrentTime -XX:+PrintGCApplicationStoppedTime -Xloggc:/home/appSes/ses/oper/gc.l 阅读全文
posted @ 2020-09-30 14:00 软件匠工 阅读(234) 评论(0) 推荐(0) 编辑
摘要: java访问https的url时,报了如下错误,找不到证书。 Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCert 阅读全文
posted @ 2020-09-28 18:05 软件匠工 阅读(887) 评论(0) 推荐(0) 编辑
摘要: 2020-09-14T15:02:14.773+0800: 262550.148: [GC (Allocation Failure) 2020-09-14T15:02:14.773+0800: 262550.148: [ParNew: 292225K->5384K(306688K), 0.00808 阅读全文
posted @ 2020-09-15 18:35 软件匠工 阅读(1789) 评论(0) 推荐(0) 编辑
摘要: 在springboot(1.5.11) 整合jsp过程,碰到了打包问题。具体就是用IDEA能正常运行,JSP页面能正常访问。但打包后,访问jsp报404错误,进入到jar包中,发现jsp没有打进包里。 后面查阅资料,发现springboot 1.5.X打包有问题。打包时需指定springboot的插 阅读全文
posted @ 2020-08-25 17:34 软件匠工 阅读(378) 评论(0) 推荐(0) 编辑
摘要: 当项目依赖其他jar包的时候,打出的jar包执行出错,抛出这个异常。 原因:因为依赖jar包中的META-INF中有多余的.SF文件与当前jar包冲突, 在打完的jar包执行 zip -d your.jar 'META-INF/.SF' 'META-INF/.RSA' 'META-INF/*SF' 阅读全文
posted @ 2020-07-31 18:59 软件匠工 阅读(2233) 评论(0) 推荐(0) 编辑
摘要: 公钥与私钥生成工具:openssl, ssh-genkey openssl: 1. 下载windows版openssl: http://gnuwin32.sourceforge.net/packages/openssl.htm 2. 执行openssl.exe 3. 生成RSA私钥: genrsa 阅读全文
posted @ 2020-07-14 16:24 软件匠工 阅读(208) 评论(0) 推荐(0) 编辑
摘要: https://docs.oracle.com/javase/8/docs/technotes/guides/troubleshoot/tooldescr022.html#BABCBGFA Table 2-1 describes native memory categories used by NM 阅读全文
posted @ 2020-04-21 11:27 软件匠工 阅读(184) 评论(0) 推荐(0) 编辑