上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 21 下一页

2019年11月3日

摘要: public static void main(String[] args) { CyclicBarrier cyclicBarrier = new CyclicBarrier(7,()->{System.out.println("游客集结完毕,出发");}); for (int i = 0; i 阅读全文

posted @ 2019-11-03 20:54 FLGB 阅读(124) 评论(0) 推荐(0) 编辑

摘要: public class CountDownLatchDemo { public static void main(String[] args) throws Exception { CountDownLatch countDownLatch = new CountDownLatch(54); fo 阅读全文

posted @ 2019-11-03 20:35 FLGB 阅读(115) 评论(0) 推荐(0) 编辑

摘要: public class CallableDemo { public static void main(String[] args) throws Exception, ExecutionException { FutureTask<String> futureTask = new FutureTa 阅读全文

posted @ 2019-11-03 20:18 FLGB 阅读(205) 评论(0) 推荐(0) 编辑


2019年11月2日

摘要: ps -ef | grep java查出进程id jmap -heap ID 查出jvm配置信息 加入参数:打印Gc日志,分析 GC日志分析工具: GCeasy 降低minor gc 和 full gc频率 压测工具: AB压测 jmeter 是由java编写的一个GUI测试工具,功能强大且结果多样 阅读全文

posted @ 2019-11-02 17:55 FLGB 阅读(599) 评论(0) 推荐(0) 编辑

摘要: 行为参数(功能开关) -XX:-DisableExplicitGC 禁止调用System.gc();但jvm的gc仍然有效 -XX:+MaxFDLimit 最大化文件描述符的数量限制 -XX:+ScavengeBeforeFullGC 新生代GC优先于Full GC执行 -XX:+UseGCOver 阅读全文

posted @ 2019-11-02 17:42 FLGB 阅读(265) 评论(0) 推荐(0) 编辑

摘要: https://blog.csdn.net/qq_41701956/article/details/81664921 阅读全文

posted @ 2019-11-02 17:32 FLGB 阅读(204) 评论(0) 推荐(0) 编辑


2019年10月30日

摘要: 结果:发现不是打印出三个参数值,出现异常 修改成集合安全 hashSet和HashMap也一样 阅读全文

posted @ 2019-10-30 22:39 FLGB 阅读(331) 评论(0) 推荐(0) 编辑

摘要: 函数式编程 lamada: 拷贝小括号,写死->,落地大括号{} 函数式编程接口中如何定义多个方法 阅读全文

posted @ 2019-10-30 22:00 FLGB 阅读(222) 评论(0) 推荐(0) 编辑

摘要: 运行结果:(电脑性能好,参数放大十倍参能看出效果) 阅读全文

posted @ 2019-10-30 21:33 FLGB 阅读(247) 评论(0) 推荐(0) 编辑


2019年10月13日

摘要: 官网下载:打不开,可用git for Windows 下载 地址:https://github.com/git-for-windows/git/releases 阅读全文

posted @ 2019-10-13 22:33 FLGB 阅读(396) 评论(0) 推荐(0) 编辑


上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 21 下一页

Copyright © 2024 FLGB
Powered by .NET 8.0 on Kubernetes