当前位置:网站首页>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 .
边栏推荐
- Prime protocol announces cross chain interconnection applications on moonbeam
- Unity中几个重要类
- Ybtoj coloring plan [tree chain dissection, segment tree, tarjan]
- Oracle ORA error message
- Ks008 SSM based press release system
- MySql數據庫root賬戶無法遠程登陸解决辦法
- 2/13 qaq~~ greed + binary prefix sum + number theory (find the greatest common factor of multiple numbers)
- Error 1045 (28000): access denied for user 'root' @ 'localhost' (using password: no/yes
- 【按键消抖】基于FPGA的按键消抖模块开发
- WPF效果第一百九十一篇之框选ListBox
猜你喜欢
Practical development of member management applet 06 introduction to life cycle function and user-defined method
[adjustable delay network] development of FPGA based adjustable delay network system Verilog
10個 Istio 流量管理 最常用的例子,你知道幾個?
Mysql数据库慢sql抓取与分析
MySql數據庫root賬戶無法遠程登陸解决辦法
WPF效果第一百九十一篇之框选ListBox
KS003基于JSP和Servlet实现的商城系统
记一次excel XXE漏洞
math_ Derivative function derivation of limit & differential & derivative & derivative / logarithmic function (derivative definition limit method) / derivative formula derivation of exponential functi
Chinese brand hybrid technology: there is no best technical route, only better products
随机推荐
Python book learning notes - Chapter 09 section 01 create and use classes
STC8H开发(十二): I2C驱动AT24C08,AT24C32系列EEPROM存储
Prime protocol announces cross chain interconnection applications on moonbeam
Prime Protocol宣布在Moonbeam上的跨链互连应用程序
Leetcode32 longest valid bracket (dynamic programming difficult problem)
Class A, B, C networks and subnet masks in IPv4
【leetcode】1189. Maximum number of "balloons"
MySQL about self growth
Viewing and verifying backup sets using dmrman
Script lifecycle
10個 Istio 流量管理 最常用的例子,你知道幾個?
绑定在游戏对象上的脚本的执行顺序
C language -- structs, unions, enumerations, and custom types
How to execute an SQL statement in MySQL
C mouse event and keyboard event of C (XXVIII)
Path of class file generated by idea compiling JSP page
How to standardize the deployment of automated testing?
食品行业仓储条码管理系统解决方案
[Key shake elimination] development of key shake elimination module based on FPGA
Stc8h development (XII): I2C drive AT24C08, at24c32 series EEPROM storage