随笔分类 -  java

摘要:http://hanhongke123.blog.163.com/blog/static/62223494201241741237345/ 阅读全文
posted @ 2016-08-08 08:07 wind90 阅读(158) 评论(0) 推荐(0)
摘要:引用计数器的实现很简单,对于一个对象A,只要有任何一个对象引用了A,则A的引用计数器就加1,当引用失效时,引用计数器就减1。只要对象A的引用计数器的值为0,则对象A就不可能再被使用。 引用计数法的问题 –引用和去引用伴随加法和减法,影响性能 –很难处理循环引用 标记-清除算法是现代垃圾回收算法的思想 阅读全文
posted @ 2016-05-05 00:48 wind90 阅读(160) 评论(0) 推荐(0)
摘要:Trace跟踪参数 -verbose:gc -XX:+printGC -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Xloggc:log/gc.log // 指定GC log的位置,以文件输出 -XX:PrintHeapAtGC // 每一次GC后,都打印堆 阅读全文
posted @ 2016-05-04 09:04 wind90 阅读(2353) 评论(0) 推荐(0)
摘要:1, PC寄存器 每个线程拥有一个PC寄存器 在线程创建时创建 指向下一条指令的地址 执行本地方法时,PC的值为undefined 2,方法区 保存装载的类信息 类型的常量池 字段,方法信息 方法字节码 通常和永久区关联在一起 * JDK 6时,String 等常量信息置于方法区,JDK7时,已经移 阅读全文
posted @ 2016-05-04 07:45 wind90 阅读(153) 评论(0) 推荐(0)
摘要:http://www.cnblogs.com/yisheng163/p/4524808.html?utm_source=tuicool 阅读全文
posted @ 2016-03-03 18:00 wind90 阅读(139) 评论(0) 推荐(0)
摘要:http://www.hollischuang.com/archives/489 http://www.hollischuang.com/archives/1003 阅读全文
posted @ 2016-02-17 17:26 wind90 阅读(138) 评论(0) 推荐(0)
摘要:整理自http://www.tuicool.com/articles/ANzQ7vyhttp://haohaoxuexi.iteye.com/blog/18930381, 安装 brew install activemq2, 阅读全文
posted @ 2016-01-12 09:58 wind90 阅读(1201) 评论(0) 推荐(0)
摘要:用Intelligidea 构建spring MVC 很方便,就不赘述了。我的项目在 github:https://github.com/jimforcode/backendyo解决办法,导入jackson2.X的jar包:用maven 管理依赖包的,在pom.xml 中加入 com.fas... 阅读全文
posted @ 2015-12-31 11:36 wind90 阅读(235) 评论(0) 推荐(0)
摘要:http://guibin.iteye.com/blog/1999238 阅读全文
posted @ 2015-12-15 12:07 wind90 阅读(259) 评论(0) 推荐(0)
摘要:http://www.importnew.com/cat/web-developmenthttp://blog.csdn.net/zhangjg_blog/article/details/24271275 阅读全文
posted @ 2015-12-14 18:23 wind90 阅读(106) 评论(0) 推荐(0)
摘要:http://blog.csdn.net/ygd266/article/details/43530417 阅读全文
posted @ 2015-12-14 18:21 wind90 阅读(91) 评论(0) 推荐(0)
摘要:http://www.cnblogs.com/leslies2/archive/2011/05/20/2051844.html我把上面代码撸了一遍git@github.com:jimforcode/rmi.git 阅读全文
posted @ 2015-12-14 16:11 wind90 阅读(107) 评论(0) 推荐(0)
摘要:http://blog.csdn.net/jiangwei0910410003/article/details/17733153 http://blog.csdn.net/love_Javc_you/article/details/38081683#comments 阅读全文
posted @ 2015-12-14 14:08 wind90 阅读(100) 评论(0) 推荐(0)
摘要:package com.jim;/** * Created by zj on 15/12/2. */public class Demo { public void say(){ System.gc(); System.out.println("你索啊--------... 阅读全文
posted @ 2015-12-02 15:24 wind90 阅读(177) 评论(0) 推荐(0)
摘要:class User { public Integer age; public Integer getAge() { return age; } public void setAge(Integer age) { this.age = age; } public User(Integer a... 阅读全文
posted @ 2015-11-10 14:56 wind90 阅读(115) 评论(0) 推荐(0)
摘要:https://www.shiyanlou.com/courses/33http://www.cnblogs.com/leiOOlei/p/3548290.html 阅读全文
posted @ 2015-11-08 23:58 wind90 阅读(112) 评论(0) 推荐(0)
摘要:DBCollection coll = mongo.getCollection(OrgHeatEntity.class.getAnnotation(Document.class).collection()); DBObject query = new BasicDBObject(); query... 阅读全文
posted @ 2015-11-03 17:07 wind90 阅读(667) 评论(0) 推荐(0)
摘要:修改 workspace\.metadata\.plugins\org.eclipse.wst.server.core\servers.xml文件。把其中的start-timeout="45" 改为start-timeout="100" 或者更长,根据不同同学的工程大小来设置。最后重启eclipse... 阅读全文
posted @ 2015-11-02 17:27 wind90 阅读(144) 评论(0) 推荐(0)