One, Java Virtual machine logical recovery mechanism1. Java Garbage collectorThe Java garbage collector is one of the three important modules of the Java Virtual Machine (JVM) (the other two are the interpreter and multithreading mechanism),
1, business log related
If the system is abnormal or the business is abnormal, the first thought is to view the business log
To View the log tool:
Less or more
Grep
tail-f filename to see what's new in real time
PS: Avoid vim directly open large
Web services are always inexplicably run after a period of time after the JVM directly outofmemory error, memory leak problem is not easy to find, this article on some of the basic knowledge to find memory leaks to do a summary, does not involve a
Web services are always inexplicably run after a period of time after the JVM directly outofmemory error, memory leak problem is not easy to find, this article on some of the basic knowledge to find memory leaks to do a summary, does not involve a
TITLE:JVM Study notes-garbage collectorDATE:2018/9/4 17:09:31Description: Recently started the study of the JVM, here to share their own learning process notes, hoping to help some small partners, but also a comb of their own learning.Garbage
Introduction to JDK JRE JVM
JDK (Java Development Kit): Is the Java language Development Toolkit, which provides the Java language development tool, which contains the JRE, but also contains the Jvmjava virtual machine.
JRE (Java
Source: Group of technical TeamIntroductionOn some servers with physical memory of 8g, the main running of a Java service, the system memory allocation is as follows: Java service JVM heap size is set to 6g, a monitoring process consumes about
This article is the second in a series of articles for the Java GC expert. In the first "Understanding Java garbage Collection mechanism" we learned the implementation of different GC algorithms, how the GC works, what is the new generation and the
GC Algorithm Garbage Collector overviewGarbage collection Garbage Collection is often referred to as the "GC", which was born in the 1960 MIT Lisp language, and has matured for more than half a century.In the JVM, the program counter, virtual
is the object dead? There are two ways to determine whether an object is alive: 1. Reference counting algorithm: Each object has a reference count property, a new reference count plus 1, and a reference release count minus 1. When the count is 0,
Java command simple view JVM memory usage1. JPS Virtual machine process Status ToolSyntax jsp [option] [HostID]OptionsRole-QShow Only Lvmid-MPass in Main method parameter when output virtual machine is enabled-LOutput main class full Name-VOutput
1, to solve what memory needs to be recycled;2, when recycling;3, how to recover;If an object is Gc.root unreachable, first determine if his finalize method has not been rewritten, without rewriting the direct recycle, if overridden, then placed in
1. Distribution of generations in the Java heap: Figure 1:java Distribution of each generation in a heap Young: It is mainly used to store new objects. Old: Primarily stores memory objects that have a long life cycle in the application. Permanent:
Java Interview Officer How to interview Others (i)Java interviewer's "interview experience"In the company as a technical interviewer for a few years, from graduating students to work more than 10 years of candidates have met. Let me start by
BackgroundThe knowledge and experience is the key foundation for a system to locate the problem, the data (run log, exception stack, GC log, thread snapshot [Threaddump/javacore file], heap dump snapshot [heapdump/hprof]) is the basis, the tool is
In the company as a technical interviewer for a few years, from graduating students to work more than 10 years of candidates have met. Let me start by expressing my own views on the interview:1. Written test, interview to evaluate a person is
1:GC Log OutputAdd-xx:+printgc-xx:+printgcdetails-xx:+printgctimestamps-xx:+printgcapplicationstopedtime to the JVM startup parameters. The JVM will output GC profiles, details, GC time information, and the application pause time caused by the GC,
Turn from: Https://segmentfault.com/a/1190000002741935#articleHeader3
This article will answer some questions for beginners of Nodejs: When should I throw an exception in a function I write, when should I pass it to callback, when it triggers
Reprint Please specify the Source:http://blog.csdn.net/jevonscsdn/article/details/54353177 "Jevons ' blog"
the purpose and function of threadlocal:Used to implement data sharing within a thread, that is, for the same program code, multiple modules
This example describes the session class for PHP implementation. Share to everyone for your reference. The specific analysis is as follows:
About the session in PHP application is necessarily not less, is one of the most important functions.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.