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

关于“深入JVM - 案例讲解方法体字节码”这一篇文章 #6

Open
syoumoku opened this issue Apr 28, 2022 · 1 comment
Open

Comments

@syoumoku
Copy link

在小节 1.1.5. main方法简单解读

descriptor: ([Ljava/lang/String;)V : 方法描述符信息, 括号里面是参数类型, L打头代表数组; 括号后面的V表示没有返回值(类似于void)。

L打头应该代表为非基本类型(Object), [ 代表数组。

具体的JVM数组描述符,引自Stackoverflow

JVM array descriptors.

[Z = boolean
[B = byte
[S = short
[I = int
[J = long
[F = float
[D = double
[C = char
[L = any non-primitives(Object)

@zhaozhen666
Copy link

zhaozhen666 commented Apr 28, 2022 via email

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