当前位置:网站首页>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 .
边栏推荐
- Facebook等大厂超十亿用户数据遭泄露,早该关注DID了
- C#(三十)之C#comboBox ListView treeView
- 【FPGA教程案例11】基于vivado核的除法器设计与实现
- Benefits of automated testing
- Facebook等大廠超十億用戶數據遭泄露,早該關注DID了
- DM8 archive log file manual switching
- 2/13 review Backpack + monotonic queue variant
- Cf464e the classic problem [shortest path, chairman tree]
- 在 .NET 6 中使用 Startup.cs 更简洁的方法
- MLAPI系列 - 04 - 网络变量和网络序列化【网络同步】
猜你喜欢
AcWing 243. A simple integer problem 2 (tree array interval modification interval query)
WPF效果第一百九十一篇之框选ListBox
Solution to the problem that the root account of MySQL database cannot be logged in remotely
Detailed explanation of serialization and deserialization
【leetcode】1189. Maximum number of "balloons"
MySQL reads missing data from a table in a continuous period of time
Facebook and other large companies have leaked more than one billion user data, and it is time to pay attention to did
JVM的手术刀式剖析——一文带你窥探JVM的秘密
ESP32(基于Arduino)连接EMQX的Mqtt服务器上传信息与命令控制
math_ Derivative function derivation of limit & differential & derivative & derivative / logarithmic function (derivative definition limit method) / derivative formula derivation of exponential functi
随机推荐
记一次excel XXE漏洞
Lora gateway Ethernet transmission
Path of class file generated by idea compiling JSP page
【FPGA教程案例12】基于vivado核的复数乘法器设计与实现
Global and Chinese market of rubber wheel wedges 2022-2028: Research Report on technology, participants, trends, market size and share
颠覆你的认知?get和post请求的本质
Detailed explanation of serialization and deserialization
关于进程、线程、协程、同步、异步、阻塞、非阻塞、并发、并行、串行的理解
Record the pit of NETCORE's memory surge
Facebook and other large companies have leaked more than one billion user data, and it is time to pay attention to did
Error 1045 (28000): access denied for user 'root' @ 'localhost' (using password: no/yes
C#(三十)之C#comboBox ListView treeView
Stc8h development (XII): I2C drive AT24C08, at24c32 series EEPROM storage
C#(二十九)之C#listBox checkedlistbox imagelist
Stack and queue
Ipv4中的A 、B、C类网络及子网掩码
asp. Core is compatible with both JWT authentication and cookies authentication
1291_Xshell日志中增加时间戳的功能
JVM的手术刀式剖析——一文带你窥探JVM的秘密
使用JS完成一个LRU缓存