当前位置:网站首页>HotSpot VM
HotSpot VM
2022-07-06 04:08:00 【Spring breeze turns into autumn rain】
mention HotSpot VM, Believe in all Java Programmers know that , It is Sun JDK and OpenJDK The virtual machine in , It's also At present, the most widely used Java virtual machine . But not everyone knows that , This looks like “ Pure blood ” In the beginning, the virtual machine of Sun Companies to develop , But by a family called “Longview Technologies” Designed by a small company ; Even this virtual machine was not originally for Java Developed by language , It comes from Strongtalk VM, And a lot of technology in this virtual machine comes from a support Self Language implementation “ achieve C Language 50% The above implementation efficiency ” The goal of virtual machine design ,Sun The company noticed that the virtual machine is in JIT There are many excellent ideas and practical effects in compiling , stay 1997 Years acquired Longview Technologies company , So we get HotSpot VM.
HotSpot VM Both inherited Sun Advantages of the previous two commercial virtual machines ( As mentioned earlier, accurate memory management ), There are also many new technological advantages of its own , As in its name HotSpot It refers to its hot code detection technology ( In fact, two VM Basically independent products of the same period ,HotSpot A little earlier ,HotSpot It's the exact formula from the beginning GC, and Exact VM There's also a relationship with HotSpot Almost the same hot spot detection . in order to Exact VM and HotSpot VM Which one becomes Sun Mainly supported by VM product , stay Sun There have been arguments within the company ,HotSpot beat Exact It's not a technical victory ),HotSpot VM The hotspot code detection capability of can find out the most valuable compiled code through the execution counter , And then inform JIT The compiler compiles in method units . If a method is called frequently , Or there are many effective cycles in the method , Will trigger standard compilation and OSR( Stack replacement ) Compile action . Work properly with the interpreter through the compiler , You can balance optimal program response time with optimal execution performance , And you don't have to wait for the local code output to execute the program , The time pressure of real-time compilation is also relatively reduced , This helps introduce more code optimization techniques , Output higher quality local code .
stay 2006 Year of JavaOne At the conference ,Sun The company announced that it would eventually Java Open source , And in the following year , In succession JDK Every part of ( Of course, it also includes HotSpot VM) stay GPL Open source code under the agreement , And on this basis established OpenJDK. such ,HotSpot VM It becomes Sun JDK and OpenJDK Two very close to each other JDK The common virtual machine of the project .
stay 2008 Years and 2009 year ,Oracle The company acquired BEA Company and Sun company , such Oracle At the same time, we have two excellent Java virtual machine :JRockit VM and HotSpot VM.Oracle The company announced that in the near future ( It should be released about JDK 8 When ) Will complete the integration of these two virtual machines , Make it complementary . The way of integration is basically HotSpot On the basis of , transplant JRockit Excellent characteristics of , For example, use JRockit The garbage collector and MissionControl service , Use HotSpot Of JIT Compiler and hybrid runtime system .
边栏推荐
- Le compte racine de la base de données MySQL ne peut pas se connecter à distance à la solution
- Thread sleep, thread sleep application scenarios
- Global and Chinese markets for fire resistant conveyor belts 2022-2028: Research Report on technology, participants, trends, market size and share
- /usr/bin/gzip: 1: ELF: not found/usr/bin/gzip: 3: : not found/usr/bin/gzip: 4: Syntax error:
- 自动化测试的好处
- Yyds dry goods inventory hcie security Day11: preliminary study of firewall dual machine hot standby and vgmp concepts
- Basic knowledge of binary tree, BFC, DFS
- How to execute an SQL statement in MySQL
- The Research Report "2022 RPA supplier strength matrix analysis of China's banking industry" was officially launched
- Exchange bottles (graph theory + thinking)
猜你喜欢

Stack and queue

食品行业仓储条码管理系统解决方案

图应用详解

Detailed explanation of serialization and deserialization

Security xxE vulnerability recurrence (XXe Lab)

The Research Report "2022 RPA supplier strength matrix analysis of China's banking industry" was officially launched

登录mysql输入密码时报错,ERROR 1045 (28000): Access denied for user ‘root‘@‘localhost‘ (using password: NO/YES
![[Zhao Yuqiang] deploy kubernetes cluster with binary package](/img/45/6777fa919386e526dbb0d2c808a7f2.jpg)
[Zhao Yuqiang] deploy kubernetes cluster with binary package

WPF效果第一百九十一篇之框选ListBox

Interface idempotency
随机推荐
Introduction to data types in MySQL
C#(二十七)之C#窗体应用
Ipv4中的A 、B、C类网络及子网掩码
Record the pit of NETCORE's memory surge
Ks003 mall system based on JSP and Servlet
Lora gateway Ethernet transmission
Le compte racine de la base de données MySQL ne peut pas se connecter à distance à la solution
综合能力测评系统
【leetcode】22. bracket-generating
[disassembly] a visual air fryer. By the way, analyze the internal circuit
In Net 6 CS more concise method
10個 Istio 流量管理 最常用的例子,你知道幾個?
【按键消抖】基于FPGA的按键消抖模块开发
Detailed explanation of serialization and deserialization
User datagram protocol UDP
【leetcode】1189. Maximum number of "balloons"
STC8H开发(十二): I2C驱动AT24C08,AT24C32系列EEPROM存储
P7735-[noi2021] heavy and heavy edges [tree chain dissection, line segment tree]
Prime protocol announces cross chain interconnection applications on moonbeam
Yyds dry goods inventory web components series (VII) -- life cycle of custom components