编程知识 cdmana.com

In depth understanding Java virtual machine 3, the latest version of 2020 written by Alibaba P8, can easily learn the bottom layer of JVM

 Ali P8 Write out 2020 The latest version 《 In depth understanding of Java virtual machine 3》 Easy to learn JVM Bottom

 

Preface

Java It's the largest number of users at present 、 The most widely used software development technology ,Java Our technology system is mainly supported by Java The virtual machine where the program runs 、 Provide interface support for various development fields Java Class library 、Java Programming languages and lots of third E Fang Java frame ( Such as Spring、 MyBatis etc. ) constitute . At home , of Java Class library API、Java The technical materials and books of language grammar and third-party framework are very rich , Compared with , of Java The data of virtual machine is very poor .

With Java The continuous development of technology , It has been used in more and more fields . Some of these areas , Like the Internet 、 energy 、 Finance 、 Communication etc. , The performance of the program 、 There will be very high requirements in terms of stability and scalability . One - This program is likely to be in 10 It's perfectly normal for individuals to use it at the same time , But in 10000 It's slow for individuals to use it at the same time 、 Deadlocks and even crashes . without doubt , To meet the 10000 Personal use at the same time , Need higher performance physical hardware , But in most cases , The proportion of concurrent programs can't improve the performance of hardware , There may even be no improvement in the performance of the program . There are Java The reason for the virtual machine : In order to achieve “ All hardware provides a consistent virtual platform ” Purpose , sacrificed - - Some hardware related performance features . More importantly, man-made reasons : If developers don't understand how many of the technical features of virtual machines work , Can't write the most suitable code for virtual machine running and self optimization .

Let's go into the world of virtual machines !

2020 The latest version 《 In depth understanding of Java virtual machine 3》pdf Interested engineers forward this article to follow me Add assistants VX:MXW5308 You can get it for free

One 、 Walk into Java

There is no perfect program in the world , But we don't get discouraged , Because writing a program is always a process of pursuing perfection .

1.1 summary

1.2 Java Technical system

1.3 Java The history of

1.4 Java Virtual machine family

1.5 expectation J ava The future of Technology

1.6 actual combat : Compile it yourself JDK

1.7 Summary of this chapter

 Ali P8 Write out 2020 The latest version 《 In depth understanding of Java virtual machine 3》 Easy to learn JVM Bottom

 

 Ali P8 Write out 2020 The latest version 《 In depth understanding of Java virtual machine 3》 Easy to learn JVM Bottom

 

Two 、 Automatic memory management

Java And C+ + There is a high wall surrounded by dynamic memory allocation and garbage collection technology , People outside the wall want to go in , The people in the wall came up with .

The first 2 Chapter Java Memory area and memory overflow exception

2.1 summary

2.2 Run time data area

2.3 HotSpot Exploring virtual machine objects

2. 4 actual combat : 0utOfMem oryErr or abnormal

2.5 Summary of this chapter

 Ali P8 Write out 2020 The latest version 《 In depth understanding of Java virtual machine 3》 Easy to learn JVM Bottom

 

The first 3 Chapter garbage collector and memory allocation strategy

3.1 summary

3.2 The object is dead. ?

3.3 Garbage collection algorithm

3.4 HotSp ot The algorithm details of the implementation of

3.5 The classic garbage collector

3.6 Low latency garbage collector

3.7 Choose the right garbage collector

3.8 actual combat : Memory allocation and recycling strategy

3.9 Summary

 Ali P8 Write out 2020 The latest version 《 In depth understanding of Java virtual machine 3》 Easy to learn JVM Bottom

 

The first 4 Chapter virtual machine performance monitoring 、 Troubleshooting tools

4.1 summary

4.2 Basic troubleshooting tools

4.3 Visual fault handling tool

4.4 HotSpot Virtual machine plug-ins and tools

4.5 Summary of this chapter

 Ali P8 Write out 2020 The latest version 《 In depth understanding of Java virtual machine 3》 Easy to learn JVM Bottom

 

The first 5 Chapter two: case analysis and actual combat

5.1 summary

5.2 case analysis

5.3 actual combat : Eclipse Speed tuning

5.4 Summary of this chapter

 Ali P8 Write out 2020 The latest version 《 In depth understanding of Java virtual machine 3》 Easy to learn JVM Bottom

 

3、 ... and 、 Virtual machine execution subsystem

The result of code compilation changes from local machine code to bytecode , It's one of the developments in storage formats - half step , It's a big step in the development of programming languages .

The first 6 Chapter : Class file structure

6.1 summary

6.2 The cornerstone of irrelevance

6.3 Class Class file structure

6.4 Introduction to bytecode instruction

6.5 Public design , Private implementation

6.6 Class The development of document structure

6.7 Summary of this chapter

 Ali P8 Write out 2020 The latest version 《 In depth understanding of Java virtual machine 3》 Easy to learn JVM Bottom

 

The first 7 Chapter : Virtual machine class loading mechanism

7. 1 summary

7.2 Class load time

7.3 The process of class loading

7.4 Class loader

7.5 Java Modular system

7.6 Summary of this chapter

 Ali P8 Write out 2020 The latest version 《 In depth understanding of Java virtual machine 3》 Easy to learn JVM Bottom

 

The first 8 Chapter : VM bytecode execution engine

8.1 summary

8.2 Runtime stack frame structure

8.3 Method call

8.4 Dynamic type language support

8.5 Stack based bytecode interpretation execution engine

8.6 Summary of this chapter

 Ali P8 Write out 2020 The latest version 《 In depth understanding of Java virtual machine 3》 Easy to learn JVM Bottom

 

The first 9 Chapter : Class loading and execution subsystem cases and actual combat

9.1 summary

9.2 case analysis

9.3 actual combat : Do it yourself to realize remote execution function

9.4 Summary of this chapter

Four 、 Program compilation and code optimization

From the first day the computer program appeared , The pursuit of efficiency is the inherent firm belief of programmers , This process is like a scene without an end 、 Never stop F1 Formula competition , Programmers are drivers , The technology platform is racing cars on the track .

The first 10 Chapter : Front end compilation and optimization

10. 1 summary

10.2 Javac compiler

10.3 Java The taste of grammar sugar

10. 4 actual combat : Plug in annotation processor

10. 5 Summary of this chapter

 Ali P8 Write out 2020 The latest version 《 In depth understanding of Java virtual machine 3》 Easy to learn JVM Bottom

 

The first 11 Chapter : Back end compilation and optimization

11. 1 summary

11.2 Just in time compiler

11.3 Ahead of time compiler

11.4 Compiler optimization technology

11.5 actual combat : In depth understanding of Gr aal compiler

11.6 Summary of this chapter

 Ali P8 Write out 2020 The latest version 《 In depth understanding of Java virtual machine 3》 Easy to learn JVM Bottom

 

5、 ... and 、 Efficient concurrent

The first 12 Chapter :Java Memory model and thread

The wide application of concurrent processing is AmdahI Instead of Moore's law, law has become the fundamental reason for the development of computer performance , It is also the most powerful weapon for human beings to squeeze the computing power of computers .

12.1 summary

12.2 Efficiency and consistency of hardware

12.3 Java Memory model

12. 4 Java With threads

12.5 Java With the process

12.6 Summary of this chapter

 Ali P8 Write out 2020 The latest version 《 In depth understanding of Java virtual machine 3》 Easy to learn JVM Bottom

 

The first 13 Chapter : Thread safety and Lock the optimization

We know about virtual machines Java The structure and operation of memory model , And explained atomicity 、 visibility 、 Order lies in Java Memory model , This paper introduces the rules and application of the first occurrence principle . in addition , We also learned that threads are in Java How is it realized in language , And on behalf of Java The working principle of the new concurrency model of multithreading development in the future .

About “ Efficient concurrent " This topic , This chapter mainly introduces how to realize the virtual machine “ Concurrent ” In the next chapter , Our main focus will be how virtual machines are implemented " Efficient ”, And what kind of optimization means the virtual machine provides for the concurrent code we write .

13.1 summary

13.2 Thread safety

13.3 Lock the optimization

13.4 Summary of this chapter

 Ali P8 Write out 2020 The latest version 《 In depth understanding of Java virtual machine 3》 Easy to learn JVM Bottom

 

2020 Latest edition of 《 In depth understanding of Java virtual machine 3》pdf Practical books and documents , Friends interested in this book forward this article , Follow me to add a private message reply assistant VX:MXW5308 You can get one for free 《 In depth understanding of Java virtual machine 3》

版权声明
本文为[Java architecture Club]所创,转载请带上原文链接,感谢
https://cdmana.com/2020/12/20201224231217879w.html

Scroll to Top