08 2018 档案

摘要:GC Tools There are multiple ways to enable the GC log: specifying either of the flags -verbose:gc or -XX:+PrintGC will create a simple GC log (the fla 阅读全文
posted @ 2018-08-28 20:19 parkdifferent 阅读(305) 评论(0) 推荐(0) 编辑
摘要:Sizing the Heap -XmsN -XmxN Sizing the Heap -XmsN -XmxN Summary The JVM will attempt to find a reasonable minimum and maximum heap size based on the m 阅读全文
posted @ 2018-08-24 22:54 parkdifferent 阅读(236) 评论(0) 推荐(0) 编辑
摘要:HTTP 1.0 vs 1.1 HTTP 1.0 vs 1.1 Proxy support and the Host field: HTTP 1.1 has a required Host header by spec. HTTP 1.0 does not officially require a 阅读全文
posted @ 2018-08-24 22:01 parkdifferent 阅读(354) 评论(0) 推荐(0) 编辑
摘要:GC算法 JVM提供了4中不同的算法执行GC GC算法 JVM提供了4中不同的算法执行GC The serial garbage collector 串行垃圾收集器是四个中最简单的。 这个是默认收集器 如果应用程序运行在客户端类机器(Windows上的32位JVM或单处理器机)。 串行收集器使用单个 阅读全文
posted @ 2018-08-23 21:16 parkdifferent 阅读(311) 评论(0) 推荐(0) 编辑
摘要:垃圾收集器的操作 查找未使用的对象,释放内存,并压缩堆,避免内存碎片 一个java程序,有执行应用程序逻辑的线程和执行GC的线程组。当GC跟踪对象引用,或在内存中移动对象,它必须确保应用程序线程没有使用这些对象。 尤其如此在GC移动对象:在该操作期间对象的内存位置发生变化,因此没有应用程序线程可以访 阅读全文
posted @ 2018-08-22 21:31 parkdifferent 阅读(506) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示