当前位置:网站首页>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 .
边栏推荐
- Determine which week of the month the day is
- C language -- structs, unions, enumerations, and custom types
- MySQL transaction isolation level
- 登录mysql输入密码时报错,ERROR 1045 (28000): Access denied for user ‘root‘@‘localhost‘ (using password: NO/YES
- Introduction to data types in MySQL
- Plus d'un milliard d'utilisateurs de grandes entreprises comme Facebook ont été compromis, il est temps de se concentrer sur le did
- Basic knowledge of binary tree, BFC, DFS
- Global and Chinese market of rubber wheel wedges 2022-2028: Research Report on technology, participants, trends, market size and share
- How to modify field constraints (type, default, null, etc.) in a table
- 1291_Xshell日志中增加时间戳的功能
猜你喜欢
Basic knowledge of binary tree, BFC, DFS
[adjustable delay network] development of FPGA based adjustable delay network system Verilog
Exchange bottles (graph theory + thinking)
Chinese brand hybrid technology: there is no best technical route, only better products
After five years of testing in byte, I was ruthlessly dismissed in July, hoping to wake up my brother who was paddling
C#(二十八)之C#鼠标事件、键盘事件
Yyds dry goods inventory hcie security Day11: preliminary study of firewall dual machine hot standby and vgmp concepts
Record the pit of NETCORE's memory surge
【按键消抖】基于FPGA的按键消抖模块开发
Interface idempotency
随机推荐
综合能力测评系统
颠覆你的认知?get和post请求的本质
Record the pit of NETCORE's memory surge
Pandora IOT development board learning (HAL Library) - Experiment 9 PWM output experiment (learning notes)
How to modify field constraints (type, default, null, etc.) in a table
C mouse event and keyboard event of C (XXVIII)
深入浅出node模板解析错误escape is not a function
Chinese brand hybrid technology: there is no best technical route, only better products
C#(二十八)之C#鼠标事件、键盘事件
asp. Core is compatible with both JWT authentication and cookies authentication
使用JS完成一个LRU缓存
Facebook等大厂超十亿用户数据遭泄露,早该关注DID了
[disassembly] a visual air fryer. By the way, analyze the internal circuit
Class A, B, C networks and subnet masks in IPv4
有条件地 [JsonIgnore]
KS008基于SSM的新闻发布系统
/usr/bin/gzip: 1: ELF: not found/usr/bin/gzip: 3: : not found/usr/bin/gzip: 4: Syntax error:
Ks008 SSM based press release system
脚本生命周期
2/13 qaq~~ greed + binary prefix sum + number theory (find the greatest common factor of multiple numbers)