Comments (4)
动态替换clazz 不是修复线上问题的神器,有风险!!! 最好不这么使用、
- 可以通过本地编译之后将clazz 上传到 服务器然后进行替换 手动的方式。
- 也可以通过arthas 插件自动化 ,配合对象存储 进行脚本化替换,可以参考插件相关文档
from arthas.
from arthas.
这个都试了不行。 官方这个备注看过。 总感觉这个mc功能问题太多。 场景: 客户线上环境 要实现功能联调,一遍遍替换class文件在线上。太麻烦了。所以看有什么更好的办法,实现动态修改。谢谢
from arthas.
重新部署是最好的操作,不要太依赖这个!
from arthas.
Related Issues (20)
- retransform jacoco报错
- 火焰图 profiler start HOT 1
- arthas tuennel web界面点击arthas output 按钮,进入列表后,点击下载失败返回error,功能是这么使用的么?
- 请问这种“Unknown Thread”算正常吗,这种是JVM内部的线程吗?
- 使用profiler命令输出的文件路径不正确 HOT 1
- 使用JRE加jattach方式运行arthas
- 同时trace同个class内不同method数据异常问题
- 使用arthas附上进程后,执行ognl命令异常 HOT 1
- 升级 logback 和 slf4j HOT 1
- 使用wisp时,报NPE错误 HOT 1
- 有个报错,不太明白,望作者解答一下 HOT 2
- 三种方式启动docker中的arthas,想远程链接都没有成功
- 2
- Cannot run program "sh": error=13
- 控制台输入命令的时候卡顿,造成输入字符丢失,而且极为严重 HOT 1
- 提出一个想法,用jetbrains二开的async-profiler代替原版的async-profiler以获得windows系统的支持 HOT 1
- 为什么文档中有memory命令,在实际使用中无法找到memory命令呢?help中也没有看到 HOT 2
- jdk21启动,telnet连接不上
- 如果java进程是通过system-service启动的,不能使用arthas监听吗? HOT 1
- profiler 的 duration 参数不生效 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arthas.