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

method id 生成时,没有按照调用层级增加 #869

Open
kkkVain opened this issue Oct 27, 2023 · 0 comments
Open

method id 生成时,没有按照调用层级增加 #869

kkkVain opened this issue Oct 27, 2023 · 0 comments

Comments

@kkkVain
Copy link

kkkVain commented Oct 27, 2023

假如有个调用层级如下:

public class A {
public void testa() {
B b = new B();
b.testb();
}
}

public class B {
public void testb () {
C c = new C();
}
}

debug发现, A.testa的method id为500,B.testb的method id 为200,这样的话计算调用关系的时候是不是会出问题?
怎么保证B作为底层被依赖的类时,method id小于A里的方法呢?是否因为插桩时先扫描到B这个类后扫描到A这个类导致的?

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

1 participant