转自:http://blog.csdn.net/heyutao007/article/details/38151581 1、JVM内存组成结构 JVM内存结构由堆、栈、本地方法栈、方法区等部分组成,结构图如下所示: 1)堆所有通过new创建的对象的内存都在堆中分配,其大小可以通过-Xmx和-Xms来 ...
分类:
编程语言 时间:
2017-08-02 16:01:19
阅读次数:
264
强引用是使用最普遍的引用:Object o=new Object(); 特点:不会被GC 将对象的引用显示地置为null:o=null; // 帮助垃圾收集器回收此对象 举例ArrayList的实现源代码:<img src="https://pic2.zhimg.com ...
分类:
其他好文 时间:
2017-08-02 11:51:21
阅读次数:
117
Problem Figure 2. The Hamming distance between these two strings is 7. Mismatched symbols are colored red. Figure 2. The Hamming distance between thes ...
分类:
其他好文 时间:
2017-08-01 20:44:45
阅读次数:
109
1.准备材料 jad.exe 下载地址 https://varaneckas.com/jad/,根据系统去选择(就当是废话) 下载下来的是jad158g.win.zip压缩文件,解压后有个jad.exe JadClipse:http://sourceforge.net/project/showfil ...
分类:
系统相关 时间:
2017-08-01 16:29:37
阅读次数:
199
Redis 集合命令 下表列出了 Redis 集合基本命令: Redis 有序集合命令 下表列出了 redis 有序集合的基本命令: ...
分类:
其他好文 时间:
2017-08-01 14:36:21
阅读次数:
128
Diff Two Arrays 比较两个数组,然后返回一个新数组,该数组的元素为两个给定数组中所有独有的数组元素。言之,返回两个数组的差异。 ComparisonOperators Array.slice() Array.filter() Array.indexOf() Array.concat() ...
分类:
编程语言 时间:
2017-08-01 14:29:26
阅读次数:
113
这里没什么好说的,直接贴文了 MongoDB provides the following methods for updating documents in a collection: Updates at most a single document that match a specified ...
分类:
其他好文 时间:
2017-08-01 12:31:06
阅读次数:
156
版权声明:本文为博主原创文章,未经博主允许不得转载。 识别变量的type id,返回true或false,举一个简单使用的例子 输出结果 具体操作也不做太多解释了,很好理解.更多的Type Traits见 http://www.cplusplus.com/reference/type_traits/ ...
分类:
其他好文 时间:
2017-08-01 00:49:31
阅读次数:
216
RunSource Using event delegation on an HTML table to highlight rows and columns. js代码: require([ 'dojo/on', 'dojo/dom-class', 'dojo/dom-attr', 'dojo/q ...
分类:
其他好文 时间:
2017-07-31 22:05:29
阅读次数:
151
A. The Useless Toy time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Walking through the st ...
分类:
Web程序 时间:
2017-07-31 20:06:14
阅读次数:
255