摘要:
与程序计数器一样,Java虚拟机栈(Java Virtual Machine Stacks)也是线程私有的,它的生命周期与线程相同。虚拟机栈描述的是Java方法执行的内存模型:每个方法被执行的时候都会同时创建一个栈帧(Stack Frame①)用于存储局部变量表、操作栈、动态链接、方法出口等信息。每 阅读全文
posted @ 2021-01-16 13:08
ppjj
阅读(193)
评论(0)
推荐(0)
摘要:
The stack frame has three parts: local variables, operand stack, and frame data. The sizes of the local variables and operand stack, which are measure 阅读全文
posted @ 2021-01-16 13:07
ppjj
阅读(169)
评论(0)
推荐(0)
摘要:
The local variables section of the Java stack frame is organized as a zero-based array of words. Instructions that use a value from the local variable 阅读全文
posted @ 2021-01-16 13:05
ppjj
阅读(634)
评论(0)
推荐(0)
摘要:
Like the local variables, the operand stack is organized as an array of words. But unlike the local variables, which are accessed via array indices, t 阅读全文
posted @ 2021-01-16 13:04
ppjj
阅读(399)
评论(0)
推荐(0)
摘要:
In addition to the local variables and operand stack, the Java stack frame includes data to support constant pool resolution, normal method return, an 阅读全文
posted @ 2021-01-16 13:02
ppjj
阅读(463)
评论(0)
推荐(0)
摘要:
jstat命令可以查看堆内存各部分的使用量,以及加载类的数量。命令的格式如下: jstat [-命令选项] [vmid] [间隔时间/毫秒] [查询次数] 注意!!!:使用的jdk版本是jdk8. 类加载统计: Loaded:加载class的数量 Bytes:所占用空间大小 Unloaded:未加载 阅读全文
posted @ 2021-01-16 12:55
ppjj
阅读(325)
评论(0)
推荐(0)
摘要:
1,MySQL左连接查询并分页,可能右边表不存在满足查询条件需要的数据,应该返回空列表,但是左边表有数据就会返回数据,不符合实际情况的需求,这时需要先在左边表里先用exists子句来关联右边表中的某个字段的查询条件来判断是否存在右边表中的数据,如果不存在就返回空列表数据,这时就满足需求了,除非右边表 阅读全文
posted @ 2021-01-16 12:54
ppjj
阅读(282)
评论(0)
推荐(0)
摘要:
目录 1、obj 必须为引用类型,不能是基本类型 2、obj 为 null 3、obj 为 class 类的实例对象 4、obj 为 class 接口的实现类 5、obj 为 class 类的直接或间接子类 6、问题 7、深究原理 8、instanceof 的实现策略 instanceof 严格来说 阅读全文
posted @ 2021-01-16 12:11
ppjj
阅读(609)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2021-01-16 12:05
ppjj
阅读(84)
评论(0)
推荐(0)

浙公网安备 33010602011771号