平静

遵循美德行事,纵使没有增加快乐,也可减轻焦虑。

导航

2016年9月19日

摘要: status=`curl -o /dev/null -s -m 5 -w %{size_download}:%{http_code}:%{time_total}:%{time_connect}:%{size_header}:%{time_namelookup} $url` curl -o /dev/ 阅读全文

posted @ 2016-09-19 14:10 mdong 阅读(237) 评论(0) 推荐(0)

2016年9月18日

摘要: Class.forName() Class.forName(xxx.xx.xx)要求JVM查找并加载指定的类,作用是 执行该类的静态代码段 一.什么时候用Class.forName()? 例:analyzer = (Analyzer) Class.forName(analyzerClass).new 阅读全文

posted @ 2016-09-18 10:03 mdong 阅读(287) 评论(0) 推荐(0)

2016年9月13日

摘要: 1. maven问题 1) maven settings.xml 配置有问题,导致依赖下载失败 2) SNAPSHO开启。 2. dubbo 仅需把dubbo.properties和spring xml文件,放到classpath 阅读全文

posted @ 2016-09-13 16:32 mdong 阅读(279) 评论(0) 推荐(0)

摘要: http://www.cnblogs.com/weidagang2046/archive/2012/10/22/tf-idf-from-probabilistic-view.html 阅读全文

posted @ 2016-09-13 15:18 mdong 阅读(134) 评论(0) 推荐(0)

摘要: 检查 使用的 settings.xml 阅读全文

posted @ 2016-09-13 14:58 mdong 阅读(100) 评论(0) 推荐(0)

摘要: Ctrl+Shift+T 搜索类(包括 工程和 关联的第三jar包) http://rongmayisheng.com/post/eclipse%E6%9C%80%E6%9C%89%E7%94%A8%E5%BF%AB%E6%8D%B7%E9%94%AE%E6%95%B4%E7%90%86 阅读全文

posted @ 2016-09-13 14:29 mdong 阅读(104) 评论(0) 推荐(0)

2016年9月9日

摘要: 线程数max:256 实际thread:80 QPS: 80 阅读全文

posted @ 2016-09-09 15:54 mdong 阅读(508) 评论(0) 推荐(0)

摘要: resin.xml configuration The resin.xml configuration file has a <thread-max>, <thread-idle-min> and <thread-idle-max> configuration. thread-max is the 阅读全文

posted @ 2016-09-09 15:37 mdong 阅读(184) 评论(0) 推荐(0)

摘要: 方法区:用来存放已经加载的 常量、静态变量 的内存区域。 加载: 把类的信息加载到jvm的方法区中,然后在堆区中实例化一个java.lang.Class对象,作为方法区中这个类的信息的入口 连接: 验证,准备,解析(符号引用->直接引用) 初始化: http://blog.csdn.net/zhen 阅读全文

posted @ 2016-09-09 15:01 mdong 阅读(186) 评论(0) 推荐(0)

2016年9月8日

摘要: SegCount表示段的个数 <SegName, SegSize, DelGen, ... , Diagnostics>这一多元组会重复SegCount次 NumField, NormGen数组的大小 http://m.blog.csdn.net/article/details?id=7771448 阅读全文

posted @ 2016-09-08 11:08 mdong 阅读(101) 评论(0) 推荐(0)