alibaba / TProfiler

TProfiler是一个可以在生产环境长期使用的性能分析工具
GNU General Public License v2.0
2.38k stars 923 forks source link

TMethod file won't be written while calling client command stop #5

Closed skyinfall closed 12 years ago

skyinfall commented 12 years ago

I cannot get tmethod file by running cmd "java -cp tprofiler.jar com.taobao.profile.client.TProfilerClient 127.0.0.1 stop".

It seems this file will only be wrritten after endProfTime

Any other way can i get it?

Will method id be changed at next runtime?

jlusdy commented 12 years ago

I added a new command 'flushmethod' and you can try it by running cmd "java -cp tprofiler.jar com.taobao.profile.client.TProfilerClient 127.0.0.1 flushmethod".

Method id will not change unless the JVM restart