当前位置:网站首页>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
边栏推荐
- Win11共享文件打不开怎么办?Win11共享文件打不开的解决方法
- 针对深度学习的“失忆症”,科学家提出基于相似性加权交错学习,登上PNAS
- FS4061A升压8.4V充电IC芯片和FS4061B升压12.6V充电IC芯片规格书datasheet
- [ismb2022 tutorial] the picture shows the precision medicine of learning. Marinka zitnik, Harvard University, keynote speaker, with 87 ppt
- Related concepts of federal learning and motivation (1)
- Implementation of redis distributed lock
- idea恢复默认快捷键
- Flet教程之 06 TextButton基础入门(教程含源码)
- 语义化标签的优势和块级行内元素
- 哈希(Hash)竞猜游戏系统开发功能分析及源码
猜你喜欢

C # better operation mongodb database

Optimization cases of complex factor calculation: deep imbalance, buying and selling pressure index, volatility calculation

【ISMB2022教程】图表示学习的精准医疗,哈佛大学Marinka Zitnik主讲,附87页ppt

Flet教程之 08 AppBar工具栏基础入门(教程含源码)

Related concepts of federal learning and motivation (1)

黄金k线图中的三角形有几种?

idea配置标准注释

Flet教程之 04 FilledTonalButton基础入门(教程含源码)

Win11U盘拒绝访问怎么办?Win11U盘拒绝访问的有效解决方法

Flet tutorial 06 basic introduction to textbutton (tutorial includes source code)
随机推荐
What ppt writing skills does the classic "pyramid principle" teach us?
idea插件
word中插入图片后,图片上方有一空行,且删除后布局变乱
From automation to digital twins, what can Tupo do?
Automatic insertion of captions in word
NLP、视觉、芯片...AI重点方向发展几何?青源会展望报告发布[附下载]
Win11共享文件打不开怎么办?Win11共享文件打不开的解决方法
Length of the longest integrable subarray
Oracle database, numbers Force 2 decimal places to display-Alibaba Cloud
MySQL中的日期时间类型与格式化方式
BFC面试简述
Hash哈希竞猜游戏系统开发如何开发丨哈希竞猜游戏系统开发(多套案例)
Related concepts of federal learning and motivation (1)
Huawei cloud store homepage banner resource bit application
What if win11u disk refuses access? An effective solution to win11u disk access denial
卷积神经网络在深度学习中新发展的5篇论文推荐
Four traversal methods of binary tree, as well as the creation of binary tree from middle order to post order, pre order to middle order, pre order to post order, and sequence [specially created for t
Lingyun going to sea | Wenhua online & Huawei cloud: creating a new solution for smart teaching in Africa
idea大小写快捷键
Idea case shortcut