This is the second article in the "become a GC Expert Series. In the first article, we learned the processing process of several different GC Algorithms in Java garbage collection, the working method of GC, and the difference between the new generation and the old generation. So far, you have learned about the five GC types in JDK 7 and their impact on performance. In this article, I will introduce
How does JVM run GC in a real environment?.
What is
tools such as compilers, debuggers, and so on.Second, Java Performance monitoring requirementsFor an enterprise application system, in most cases, it is certainly the integration of various systems developed by a variety of programming languages. We are very concerned about the availability of the system, the timely response, the consumption of resources, such as CPU, memory, various I/O, network bandwidth
design capabilities, but was not applauded in version 1.0. After the Java 1.1 version, the new event-driven approach has been added to truly become practical, convenient and stable. The Swing class is designed to cope with the deficiencies of AWT, a component library that was launched after Java 1.1, which is based on beans (the component of Swing is bean), so it is a "lightweight" player relative to AWT.
there is also a problem. The data displayed is not very intuitive. It would be much better to view it through the GUI.
JVM comes with the GUI monitoring status function. In jdk5, we need to make some configurations to manually enable it. First, we need to add some attributes to the JVM startup Item, suppose our system is a project running under the Tomcat container, we can modify the java_opts variable to enable the
, and more
-gccapacity
The monitoring content is basically the same as-GC, but the output focuses on the maximum and minimum space used by each area of the Java heap
-gcutil
The monitoring content is basically the same as-GC, but the output focuses on the percentage of space used for the total space
-gccause
more
-gccapacity
The monitoring content is basically the same as-GC, but the output focuses on the maximum and minimum space used by each area of the Java heap
-gcutil
The monitoring content is basically the same as-GC, but the output focuses on the percentage of space used for the total space
-gccause
Sam
Today saw a netizen write Java file monitoring, real-time monitoring file loading, suddenly think of commons-io in the implementation of this function, first review to write a simple demo:There are three ways of doing this:1, Java Common.io Internal implementation is the way of traversal, small folder efficiency is goo
The 1th Chapter Course Introduction (Java Second Kill course teacher to build)This chapter introduces the possible problems of the production environment and common performance monitoring tools, and what the course can learn, how to arrange the contents of the course, so that everyone has a full picture of the curriculum, so as to better study the course.1-1 Why study this course?The 2nd chapter is based on
Java SE 7 Tutorial adds an example of Directory change monitoring to introduce the newly released WatchService API.
However, for users who are used to. NET FileWatcher, if it is used for projects, I think it has two shortcomings:
1. An independent background thread running mechanism should be provided so that the monitoring process can be switched on the back
This article consists ofimportnew - lomoxy translated from javapapers. Directory
Introduction to Garbage collection
How does garbage collection work?
Categories of garbage collection
Garbage collection Monitoring and analysis
In this Java GC Series tutorial, let's learn about tools for garbage collection monitoring and analysis. Then, ch
With the increasing popularity of multi-core CPUs, more and more Java applications use multithreading parallel computing to give full play to the performance of the whole system. The use of multithreading also poses a huge challenge to application developers, and improper use of multithreading can lead to thread deadlock or resource competition, resulting in system paralysis. Therefore, a Run-time thread monitorin
for Java performance More concerned about the students probably know the "Java performance" this book, in general, many students in the daily writing Java Code is seldom to care about performance issues, but in the process of writing Code we must take into account the impact of performance on the program. As small as we use bit operations to achieve arithmetic op
Full-featured built-in analyzer such as jconsole and visualvm sometimes cost more than they cost performance-especially in systems running on production software. Therefore, in the 2nd articles focusing on Java performance monitoring, I will introduce five command line analysis tools, allowing developers to focus only on one aspect of the running Java Process.
JD
In this Java GC Series tutorial, let's learn about tools for garbage collection monitoring and analysis. Then, choose a tool to monitor the garbage collection process for a Java sample program. If you are a beginner, you'd better read this series of tutorials carefully. You can start here (garbage collection Introduction).Jav
Transferred from: http://www.cnblogs.com/callwangxiang/archive/2011/08/04/JavaDirectoryWatcherFileWatcher.htmlA sample of monitoring directory Changes was added to the Java SE 7 tutorial to describe its newly released Watchservice API.But for a user accustomed to the. NET Filewatcher, I think it has two deficiencies if you use it for a project:1, should provide a separate thread background operation mechani
In the Java Pile tool, we have been using Kieker, a simple study of another Java monitoring platform Zorka, here Windows+tomcat as an example to record the most basic installation process:Its homepage is: Http://zorka.io/,GitHub on the project homepage is: Https://github.com/jitlogic/zorka, on its homepage has its agent side download page: http://zorka.io/downloa
JDK provides us with tools to monitor server performance, such as Jconsole, Java VISUALVM, where you can use Java VISUALVM to remotely monitor the performance of WebLogic servers (memory, threads, garbage collection, etc.)
These metrics allow you to observe the running state of the server, analyze the cause of the error, such as memory overflow.
To monitor server memory changes using VMS, you first need to
http://www.ibm.com/developerworks/cn/aix/library/es-Javaperf/es-Javaperf4.html maximizing Java performance on AIX, Part 4: monitoring trafficThis five-part series provides several techniques and techniques that are often used to optimize Java™ applications for optimal performance on AIX®. This article discusses the scenarios where I/O and networks can be bottlene
How to Use Zorka, an open-source Java Monitoring Platform
In terms of Java Plug-in tools, we have been using Kieker. Today we have studied another Java monitoring platform Zorka. Here we take Windows + Tomcat as an example to record the most basic installation process:
Its h
In the Java Bin directory, the JDK provides a lot of tools to use, and below to learn some of the tools for monitoring and troubleshooting.NameRoleJPS JVM Process Status tool to display all the HotSpot virtual machine processes within a specified systemJstat JVM Statistics Monitoring tool for collecting operational data for all aspects of the HotSpot virtual mach
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.