当前位置:网站首页>GVM use
GVM use
2022-07-04 20:47:00 【The great man ate a Kun on the day he was alive】
1.GVM What is it
GraalVM Is a high-performance runtime , Significantly improve application performance and efficiency , Great for microservices . It is designed to Java,JavaScript, be based on LLVM Language ( for example C and C ++) And other applications written in dynamic languages . It eliminates the isolation between programming languages , The interoperability of shared runtime is realized .
Refer to official documentation https://www.graalvm.org/docs/introduction/
GraalVM It can run independently , It can also be used as OpenJDK or Node.js Part of the platform is embedded , Even in Oracle Execute... In the database .
Use GraalVM Can be Java The machine code directly compiled into binary is applied to generate a Native Image, Let this program run like a general binary file ,Native Image You can start a faster Java application , Native Image Quick start feature , It can achieve the purpose of server free computing .
2. What's the advantage
GraalVM It can run independently , It can also be used as OpenJDK or Node.js Part of the platform is embedded , Even in Oracle Execute... In the database . It's hanging anyway .
Use GraalVM Can be Java The machine code directly compiled into binary is applied to generate a Native Image, Let this program run like a general binary file ,Native Image You can start a faster Java application , Native Image Quick start feature , It can achieve the purpose of server free computing .
You can also reuse data from Java、R or Python The library of , It doesn't have to be used in jython,j++, That kind of Library .
And it can be based on jvm Create a native image for your application . The image generation process uses static analysis to find slave images Java Method can access any code , Then execute completely in advance (AOT) compile . The generated native binary file contains the whole program in the form of machine code , For immediate execution . It can be linked to other local programs , You can also choose to include GraalVM compiler , To provide real-time monitoring (JIT) Supplementary support for compilation , To run any based on graalvm High performance language for . For additional performance , The native image can be built by optimizing the configuration file collected in the previous run of the application
3. Use
gu --version
gu install native-image
gu list Check for success :
./helloworld perform
jar --create --verbose --file HelloWorld.jar --main-class HelloWorld *.class
time java -jar HelloWorld.jar
time ./helloworld
边栏推荐
- 记录线上bug解决list(未完待续7/4)
- How to adapt your games to different sizes of mobile screen
- What if the WiFi of win11 system always drops? Solution of WiFi total drop in win11 system
- Après l'insertion de l'image dans le mot, il y a une ligne vide au - dessus de l'image, et la disposition est désordonnée après la suppression
- Win11怎么搜索无线显示器?Win11查找无线显示器设备的方法
- Flet教程之 05 OutlinedButton基础入门(教程含源码)
- Every time I look at the interface documents of my colleagues, I get confused and have a lot of problems...
- How does the computer save web pages to the desktop for use
- #夏日挑战赛#带你玩转HarmonyOS多端钢琴演奏
- 伦敦银走势图分析的新方法
猜你喜欢
Win11U盘拒绝访问怎么办?Win11U盘拒绝访问的有效解决方法
阿里测试师用UI自动化测试实现元素定位
Managed service network: application architecture evolution in the cloud native Era
同事的接口文档我每次看着就头大,毛病多多。。。
强化学习-学习笔记2 | 价值学习
FS8B711S14电动红酒开瓶器单片机IC方案开发专用集成IC
《动手学深度学习》(三) -- 卷积神经网络 CNN
NLP、视觉、芯片...AI重点方向发展几何?青源会展望报告发布[附下载]
Win11亮度被锁定怎么办?Win11亮度被锁定的解决方法
See how Tencent does interface automation testing
随机推荐
同事的接口文档我每次看着就头大,毛病多多。。。
What if win11u disk refuses access? An effective solution to win11u disk access denial
【深度学习】一文看尽Pytorch之十九种损失函数
NLP、视觉、芯片...AI重点方向发展几何?青源会展望报告发布[附下载]
奏响青春的乐章
工厂从自动化到数字孪生,图扑能干什么?
LeetCode 8. 字符串转换整数 (atoi)
针对深度学习的“失忆症”,科学家提出基于相似性加权交错学习,登上PNAS
AP8022开关电源小家电ACDC芯片离线式开关电源IC
Managed service network: application architecture evolution in the cloud native Era
word中插入图片后,图片上方有一空行,且删除后布局变乱
2022 version of stronger jsonpath compatibility and performance test (snack3, fastjson2, jayway.jsonpath)
九齐单片机NY8B062D单按键控制4种LED状态
NLP, vision, chip What is the development direction of AI? Release of the outlook report of Qingyuan Association [download attached]
go语言笔记(4)go常用管理命令
《动手学深度学习》(三) -- 卷积神经网络 CNN
实操自动生成接口自动化测试用例
word中插入圖片後,圖片上方有一空行,且删除後布局變亂
Flet教程之 04 FilledTonalButton基础入门(教程含源码)
Is it safe for Great Wall Securities to open an account? Stock account opening process online account opening