Comments (7)
GC verbose 日志含义
- http://karunsubramanian.com/websphere/troubleshooting-gc-step-by-step-instructions-to-analyze-verbose-gc-logs/
- https://blogs.oracle.com/poonam/understanding-cms-gc-logs
The followings are other options that can be used with -verbosegc.
-XX:+PrintGCDetails
-XX:+PrintGCTimeStamps
-XX:+PrintHeapAtGC
-XX:+PrintGCDateStamps (from JDK 6 update 4)
Minor gc
[GC [<collector>: <starting occupancy1> -> <ending occupancy1>, <pause time1> secs] <starting occupancy3> -> <ending occupancy3>, <pause time3> secs]
Full gc
[Full GC [Tenured: 3485K->4095K(4096K), 0.1745373 secs] 61244K->7418K(63104K), [Perm : 10756K->10756K(12288K)], 0.1762129 secs] [Times: user=0.19 sys=0.00, real=0.19 secs]
from ideas.
Understanding JVM Internals
from ideas.
理解 gc 过程中的暂停
from ideas.
SurvivorRatio
The SurvivorRatio
parameter controls the size of the two survivor spaces. For example, -XX:SurvivorRatio=6 sets the ratio between each survivor space and eden to be 1:6, each survivor space will be one eighth of the young generation. The default for Solaris is 32. If survivor spaces are too small, copying collection overflows directly into the old generation. If survivor spaces are too large, they will be empty. At each GC, the JVM determines the number of times an object can be copied before it is tenured, called the tenure threshold. This threshold is chosen to keep the survivor space half full.
from ideas.
Java Platform, Standard Edition HotSpot Virtual Machine Garbage Collection Tuning Guide
- https://docs.oracle.com/javase/8/docs/technotes/guides/vm/gctuning/toc.html
- http://www.oracle.com/technetwork/java/javase/tech/index-jsp-136373.html
from ideas.
JVM Memory Structure
- https://www.yourkit.com/docs/kb/sizes.jsp
- http://stackoverflow.com/questions/16697135/monitor-non-heap-memory-usage-of-a-jvm
from ideas.
2018-04-10T10:50:51.667+0800: 564548.110: [GC (Allocation Failure) 2018-04-10T10:50:51.668+0800: 564548.110: [ParNew: 564792K->6394K(629120K), 0.0244341 secs] 1051623K->493813K(2027264K), 0.0251491 secs] [Times: user=0.23 sys=0.02, real=0.03 secs]
正常行为,Allocation Failure 是 GC 触发的原因
from ideas.
Related Issues (20)
- 名人访谈
- 让子弹飞一会儿-- **科技监管的意图和临界点 HOT 1
- **、半导体以及寻求独立的原动力 HOT 1
- 有网友发现关于芯片的一个历史内幕了
- An Interview with Mickey Petersen, author of Mastering Emacs HOT 1
- An Interview with Bozhidar Batsov, Creator of CIDER, Projectile, Prelude, and RuboCop HOT 1
- Emacs 29 is nigh! What can we expect? HOT 1
- Open Source History: Why Didn’t BSD Beat Out GNU and Linux? HOT 2
- If you're happy with OpenBSD, probably any computer is good enough |
- Full-Time Open Source With Andrew Kelley HOT 1
- Bjarne Stroustrup: “I Did It For You All…”
- 为什么我选择 Emacs 作为我的新文本编辑器
- Understanding GNU: The Backbone of Free Software Philosophy
- 互联网产业史1990-2010:萌发,泡沫,崛起
- 到底谁才是真正的隐形战友—开源软件和OpenSSL的真实故事
- 互联网产业史1990-2010:萌发,泡沫,崛起
- The IDEs we had 30 years ago... and we lost
- Back to the building blocks: a path toward secure and measurable software HOT 1
- Perf is not enough
- A History of C Compilers - Part 1: Performance, Portability and Freedom
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ideas.