当前位置:网站首页>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
边栏推荐
- go笔记(3)Go语言fmt包的用法
- See how Tencent does interface automation testing
- From automation to digital twins, what can Tupo do?
- How to adapt your games to different sizes of mobile screen
- idea插件
- Managed service network: application architecture evolution in the cloud native Era
- Hash哈希竞猜游戏系统开发如何开发丨哈希竞猜游戏系统开发(多套案例)
- Form组件常用校验规则-1(持续更新中~)
- What if the brightness of win11 is locked? Solution to win11 brightness locking
- 栈:如何实现有效括号的判断?
猜你喜欢
Jiuqi ny8b062d MCU specification /datasheet
Flet tutorial 06 basic introduction to textbutton (tutorial includes source code)
[in-depth learning] review pytoch's 19 loss functions
QT writing the Internet of things management platform 38- multiple database support
伦敦银走势图分析的新方法
什么叫内卷?
What if the computer page cannot be full screen? The solution of win11 page cannot be full screen
看腾讯大老如何做接口自动化测试
同事的接口文档我每次看着就头大,毛病多多。。。
Flet教程之 08 AppBar工具栏基础入门(教程含源码)
随机推荐
【深度学习】一文看尽Pytorch之十九种损失函数
Form组件常用校验规则-1(持续更新中~)
托管式服务网络:云原生时代的应用体系架构进化
What is the development of block hash quiz game system? Hash quiz game system development (case mature)
How to adapt your games to different sizes of mobile screen
Is it necessary to apply for code signing certificate for software client digital signature?
MySQL statement execution details
Win11共享文件打不开怎么办?Win11共享文件打不开的解决方法
Managed service network: application architecture evolution in the cloud native Era
idea恢复默认快捷键
15million employees are easy to manage, and the cloud native database gaussdb makes HR office more efficient
Function analysis and source code of hash guessing game system development
Win11亮度被锁定怎么办?Win11亮度被锁定的解决方法
idea配置标准注释
Aiming at the "amnesia" of deep learning, scientists proposed that based on similarity weighted interleaved learning, they can board PNAS
【ISMB2022教程】图表示学习的精准医疗,哈佛大学Marinka Zitnik主讲,附87页ppt
AP8022开关电源小家电ACDC芯片离线式开关电源IC
GVM使用
PermissionError: [Errno 13] Permission denied: ‘data.csv‘
go笔记(1)go语言介绍以及特点