摘要: public class User { private Integer id; private String username; private String note; public User(Integer id, String username, String note) { this.id 阅读全文
posted @ 2020-09-25 16:25 小丑quan 阅读(212) 评论(0) 推荐(0)
摘要: 在jdk8之后之前的方法区有叫做元数据。 每个JVM只有一个Runtime实例,即为运行时环境,相当于内存结构种的运行时数据区 线程 线程是一个程序里的运行单元,JVM允许一个应用有多个线程并行的执行 在Hotspot JVM里,每个线程都与操作系统的本地线程直接映射。 当一个java线程准备好执行 阅读全文
posted @ 2020-09-25 07:48 小丑quan 阅读(141) 评论(0) 推荐(0)