Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用profiler命令输出的文件路径不正确 #2868

Open
1 task done
youngledo opened this issue Jul 13, 2024 · 1 comment
Open
1 task done

使用profiler命令输出的文件路径不正确 #2868

youngledo opened this issue Jul 13, 2024 · 1 comment

Comments

@youngledo
Copy link

  • 我已经在 issues 里搜索,没有重复的issue。

环境信息

  • arthas-boot.jar 或者 as.sh 的版本: xxx
  • Arthas 版本: 最新
  • 操作系统版本: Linux Ubuntu
  • 目标进程的JVM版本: 8

重现问题的步骤

如图所示:

image

@furaul
Copy link
Contributor

furaul commented Sep 2, 2024

image

原因是执行stop命令的时候,读取的文件配置是stop的上下文,这里直接使用默认文件生成规则了。
感觉楼主这里原本预期是在start的时候缓存一下文件配置,然后在下一个stop命令里读取start的文件配置,源码里看起来没有start和stop相关联逻辑。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants