alibaba / alibaba/TProfiler

Tprofile 会影响class被热替换后的性能

Open
#42 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.4k
Forks
906
PR merge metrics
No merged PRs in 30d

Description

最近,我们在项目中新增了Tprofile进行运行时性能数据的收集,但是发现当我们在运行的时候进行部分(一般是在线解决bug,只针对1-2个class)class文件热更新(使用Instrumentation.addTransformer 和 Instrumentation.retransformClasses)后,服务器运行明显变慢,并且可以排除各种IO的影响,严重的服务器只能重启才能解决问题。

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the slowdown after hot-updating one or two classes with Instrumentation.addTransformer and retransformClasses, while excluding I/O effects as described. Trace TProfiler's runtime performance-data collection around that sequence; done means the post-retransformation server performance no longer degrades or the remaining cause is isolated.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.