Jvm runtime memory parsing and jvm runtime memory Parsing
I. jvm Concept
Before learning about the concept of jvm, let's first understand the logic structure of the java platform. The picture is from deep java virtual machine.
We can see that jdk contains jre, java language and java development tools and APIs. jr
Deep understanding of Java Virtual Machine: JVM advanced features and best practices (in-depth analysis of JVM Based on issues such as memory management and high concurrency)
Provides a comprehensive and in-depth analysis of JVM based on core content such as memory management, execution subsystem, programming compilation and optimization, and efficient concurrenc
A deep understanding of one jvm [memory region] and a deep understanding of the jvm Region
Before the beginning of this article, we need to declare that this series of articles discuss the hot spot VM. Most of the ideas in this article are based on Zhou Zhiming, who deeply understands the Java VM: JVM advanced features and best time. if I have any misunderstandin
Jvm and jvm virtual machines
What is the relationship between jvm and jre?
JRE: Java Runtime Environment,Includes Java virtual machines(Jvm)Java core class library and supporting files. It does not containIn JDKDevelopment tools, such as Compilers, Debugger, and other tools. So the relationship is clear at a glance.
Java memory composition:Heap and non-heap memory
According to the official statement: "A Java virtual machine has a heap. The heap is the runtime data area, and the memory of all class instances and arrays is allocated from this place. The heap is created when the Java Virtual Machine is started ." "Memory outside of the heap in JVM is called non-heap memory )". JVM manages two types of memory: heap and n
Visualvm is Sun's openjdk project. It aims to create a complete set of problem solving tools for Java applications. It integrates a visual tool with multiple JDK command tools. It is mainly used to monitor JVM running conditions, you can use it to view and view heap dump, thread dump, memory object instance, GC execution, CPU consumption, and class loading. Java developers can use visualvm to create logs of required information. System Administrators
JVM tuning summary, jvm Tuning
Heap size settingsThe maximum heap size in JVM has three restrictions: the data model (32-BT or 64-bit) of the relevant operating system; the available virtual memory limit of the system; and the available physical memory limit of the system. Generally, 32-bit systems are limited to Gbps ~ 2 GB; 64 indicates that the operating sy
Jdk:java Development ToolKit (Java SDK), including the Java Runtime Environment JRE (Java Runtime envirnment), a bunch of Java tools (javac/java/ JDB, etc.) and Java-based class libraries (that is, Java APIs include Rt.jar).The JDK includes the JRE primarily because of the tools and examples available in the JDK and requires JRE support to run.Jre:java Runtime enviromental (Java Runtime Environment). That is what we call the Java platform, all Java programs must be under the JRE to run. Includes
Java Programmers sometimes need to understand JVM-related parameters, either out of curiosity or work needs. Some parameters are listed in the Oracle document (Click here). Not all parameters are listed, and some parameters are enabled or disabled by default, in some cases, setting a parameter does not take effect. Sometimes you want JVM to do something, but you don't know which parameter can be used. The f
Articles in the JVM series (II): Garbage collection mechanism and jvm garbage collection
As a programmer, it is far from enough to know how to use it. At least, you need to know why it can be used, that is, what we call the underlying layer.
So what is the underlying layer? I don't think this can be generalized. In my current knowledge: for Web developers, TCP/IP, HTTP, and other protocols may be the underl
The JVM heap size setting is a deep dive. It requires both a high degree of understanding and implementation of the architecture and a deep understanding and mastery of the internal language mechanism.First, you need to have a preset and monitor the JVM heap size. See this article to select five suggestions (5 tips for proper Java heap size) for the appropriate Java heap size ), in fact, this article mainly
Memory Allocation for various data types in jvm, and jvm allocation for Data TypesJvm runtime data zone: the memory managed by JVM is divided into the following runtime data zones: Program counters, Java Virtual Machine stacks, local method stacks, Java stacks, and method zones. This article mainly involves: java Virtual Machine station (java stack for short), ja
JVM-1. Compilation, jvm-1 CompilationDirectory 1. compiler Overview 2. compiler Composition 3. Example 4. a deep understanding of the JVM compiler 5. Syntax sugar 6. Supplement 1. compiler Overview 1. The essence of the compiler is the specification is transformed into another specification; it is easy for humans to understand machines. Javac converts the source
[In-depth research on Java] 2. JVM class loading mechanism, in-depth research on jvm
1. First, let's take a look at the Code Execution Process:
Ii. significance of research on class loading mechanism
It can be seen that class loading is the first step in Java program execution. Studying class loading helps you understand the JVM Execution Process and guides dev
Jvm intermittent crash analysis, jvm intermittent crashHttp://www.cnblogs.com/LBSer/p/4417148.html1 Problem Description
A service has two machines, and the alarm load is high every few days. At the beginning, the monitoring system found that the gc Time Jitter was very high, so it was thought that fullgc caused choppy and did not pay attention to it, then, log on to the online machine and check the log. It
What are the common garbage collectors in Java?In fact, the garbage collector (Gc,garbage Collector) is closely related to the specific JVM implementations, and different vendors (IBM, Oracle), different versions of the JVM, offer different choices. Next, I'll talk about the most mainstream Oracle JDK.
Serial GC
It is the oldest garbage collector, "Serial" embodied in its collection work is si
Try to talk about static methods and static properties from the point of view of the JVM's memory management principles, please correct me where it is wrong. (joezheng123.javaeye.com/blog/264695)The JVM's memory is divided into two parts: Stack and heap:Stack (stack) is the memory instruction area of the JVM. Stack management is simple, push a certain length byte of data or instruction, stack pointer stack corresponding byte displacement; pop a certai
Chapter 2 JVM memory allocation and Chapter 2 jvm allocation
Note: This blog is mainly based on the following three books:
Distributed Java applications: basics and practices
Deep understanding of Java Virtual Machine (version 2)
16 lessons that break the basic skills of programmers
Note: For details about the JVM memory structure, refer to Chapter 1
JAVA advanced interview Summary-JVM, java interview-jvm
1. Sun HotSpot VM is a self-embedded Virtual Machine in JDK and Open JDK. It is also the most widely used Java virtual machine.
2. JVM Memory Distribution
Program counter: it is a small memory space and can be seen as the row number indicator of the bytecode executed by the current thread. The basic functi
Last written 1. A preliminary understanding of the JVM-the JVM sequence, followed today to write the JVM's operating mechanism.First, the JVM startup processThe Java platform includes the JVM and the Java language, where the JVM is also an application process running in the
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.