$300 in bounties won

常量池问题

  • #1592 JavaGuide
  • Status: open
  • Views: 1

Total Bounty: $0

Primary Language:

Java

Bounties

Takers

![image](https://user-images.githubusercontent.com/13087806/156717994-b0261ae9-daad-486d-b411-341bd61de367.png) 感觉对于字符串常量池和运行池的定义有问题 根据 周志明教授在这个issue https://github.com/fenixsoft/jvm_book/issues/112 的讨论 以及jdk源码的注释 ![image](https://user-images.githubusercontent.com/13087806/156718172-ffa025a8-a014-4e1b-bb75-eca0c164c60f.png) 所以我觉得,每个class文件都有自己的常量池表,这个是静态的。当class被加载后放到方法去,静态的常量池表就变成运行时常量池(.

December top 10

shashisp $80
rafael $40
hazzarux $20
ordersys $20
abelradac $20
pmourelle $20
atuljain $20
Lindar90 $20
stevenc99 $20
Jacob45 $10

Solutions