Preface
32-bit and 64-bit systems are often mentioned in the computer field, but many people do not know the difference between 32-bit and 64-bit systems. Therefore, I have compiled some documents online, I hope to share with you. For 32-bit and 64-bit, this article will explain from the processor, operating system, and JVM respectively.
IA Introduction
Introduction
Speaking of processors, most people use Intel's processors. Therefore, this article ma
1 Java technology and Java Virtual Machine
Speaking of Java, people first think of Java programming language. However, Java is actually a technology, which consists of four aspects: java programming language, Java file format, Java Virtual Machine and Java application interface (Java API ). Shows the relationship between them:
Figure 1 Relationship between four aspects of Java
The runtime environment represents the Java platform. Developers compile Java code (. Java file) and compile it into by
Machine (JVM) is at the core position and is the key for programs to be irrelevant to the underlying operating system and hardware. Below it is A porting interface, which consists of an adapter and a Java operating system. The platform-dependent part is called an adapter; JVM is implemented on a specific platform and operating system by porting interfaces. Above the JV
Transferred from: http://tech.meituan.com/linux-jvm-memory.htmlAnalysis of memory relationship between Linux and JVMGe Jing 2014-08-29 10:00amIntroductionOn 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 600m,linux itself uses about 800m. On the surface, the
JVM Memory ManagementI. Physical memory and virtual memory1. Physical memory(1) RAMThe so-called physical memory is what we usually call RAM (random memory ).(2) registersIn a computer, there is also a storage unit called register, which is used to store the intermediate results of the computing unit execution commands (such as floating point, integer, and so on. The register size determines the maximum value that can be used for a calculation.(3) Add
operating system, the default kernel space and user space ratio is 1:1 (that is, 2GB kernel space, 2GB user space), and the default ratio of 32-bit Linux system is 1:3 (1GB kernel space, 3GB user space). third, which components in Java need to use memory1. Java HeapThe Java heap is the area of memory used to store Java objects, and the heap size is applied to the operating system once the JVM is started,-xmx and-xms two options to control the size, X
first, set the JVM memory settings 1. There are four parameters for setting JVM memory: -xmx Java Heap Maximum, the default value is 1/4 of physical memory, the best setting should depend on the physical memory size and other memory overhead in the computer; -xms Java Heap Initial value, the server side JVM is best to set-XMS and-xmx to the same value, the develo
Description: Java development Almost all know the name of the JVM, but because the JVM to the actual simple development of the association is not much, generally work for a year or two (of course, do not include love learning and specifically to do performance optimization of what), very few people can be very good to learn and understand what is the JVM, As well
First, set the JVM memory settings1. There are four parameters for setting JVM memory:-xmx Java Heap Maximum, the default value is 1/4 of physical memory, the best setting should depend on the physical memory size and other memory overhead in the computer;-xms Java Heap Initial value, the server side JVM is best to set-XMS and-xmx to the same value, the developme
IntroductionOn 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 600m,linux itself uses about 800m. On the surface, the physical memory should be sufficient to use, but the actual operation is that there will be a large amount of swap (indicating that physical memory is not used enough) as shown in. At the
This article is intended to give a conceptual introduction to all of the students who want to learn about the JVM(Java Virtual machine), mainly on the components of the JVM and the mechanics and principles of their internal workings. Of course this article is just a simple introduction, will not involve too many complicated parameters and configuration, interested students can do more in-depth research, in
In the process of executing Java programs, the JVM uses a variety of data regions that have their own purpose, creation, and destruction times. According to the Java Virtual Machine specification, the JVM includes the following run-time data regions, as shown in:Where the red part is thread-private, each thread has its own copy. The green part is shared by each thread.1.PC Register (the PC Register)(1) Each
This article is reproduced. Original article address: http://blog.csdn.net/willfcareer/archive/2010/09/27/5910557.aspxjvmlearning notes (1) ------ Basic Structure
From the logic structure of the Java platform, we can always understand JVM:
The differences between JDK and JRE can be clearly seen from the various logic modules included in the Java platform.
For the physical structure of the JVM itself, we ca
1. JVM Life cycle
Start. When a Java program is started, a JVM instance is generated, and any class that has the public static void main (string[] args) function can be used as a starting point for the JVM instance to run.
Run. Main () is the starting point for the program's initial thread, and any other thread is started by that thread.
Die. The
the process by which the JVM executes the program:I. Loading A. class file Ii. managing and allocating memory Iii. performing garbage collection JRE (Java Runtime Environment) the runtime environment of the Java program containing the JVM [1] The JVM is a container for the Java program to run, but he is also a process of the operating system. So he also has his o
On the internet to find a talk about the JVM ppt, feel very good, will focus on sorting down. Detailed ppt in my download space
http://download.csdn.net/detail/u011936381/6959809
The life cycle of the JVM
First, analyze two conceptsJVM instance and JVM execution engine instance(1) The JVM instance corresponds to a sta
1. Preface-Why JVM again?
Many people think that distributed Java applications seem to be less concerned with Java virtual machines, not to mention distributed systems. A single-host JavaSE system does not need to thoroughly learn JVM, is there a JVM to execute. According to my experience, in large distributed systems, especially cloud computing service platforms
Before describing their differences, let's take a look at the memory model of the Data zone during JVM runtime.In the deep Java Virtual Machine (VM) book, The Memory Model of the JVM runtime data zone is composed of five parts:
[1] Method Area[2] heap[3] java stack[4] PC register[5] local method Stack
For string S = "Haha", its VM commands:0: LDC #16; // string haha2: astore_13: Return
For the above VM c
The JDK (Java development Kit) is the product for Java developers and is the core of the entire Java, including the Java Runtime Environment JRE, Java tools, and Java base class libraries. Java Runtime Environment (JRE) is a collection of environments necessary to run Java programs, including the JVM standard implementation and the Java Core Class library. The JVM is the abbreviation for Java Virtual machin
This article is intended to give a conceptual introduction to all of the students who want to learn about the JVM (Java Virtual machine), mainly on the components of the JVM and the mechanics and principles of their internal workings. Of course this article is just a simple introduction, will not involve too many complicated parameters and configuration, interested students can do more in-depth research, in
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.