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

The sm command should print method with Descriptor #504

Closed
hengyunabc opened this issue Feb 13, 2019 · 0 comments
Closed

The sm command should print method with Descriptor #504

hengyunabc opened this issue Feb 13, 2019 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@hengyunabc
Copy link
Collaborator

Before:

$ sm java.lang.String indexOf
java.lang.String->indexOf
Affect(row-cnt:1) cost in 10 ms.

After:

$ sm java.lang.String indexOf
java.lang.String indexOf(Ljava/lang/String;I)I
java.lang.String indexOf([CIILjava/lang/String;I)I
java.lang.String indexOf([CII[CIII)I
java.lang.String indexOf(I)I
java.lang.String indexOf(Ljava/lang/String;)I
java.lang.String indexOf(II)I
Affect(row-cnt:6) cost in 6 ms.

https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-4.html#jvms-4.3.3

@hengyunabc hengyunabc added the enhancement New feature or request label Feb 13, 2019
@hengyunabc hengyunabc added this to the 3.0.6 milestone Feb 13, 2019
lzc-alioo pushed a commit to lzc-alioo/arthas that referenced this issue May 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant