What is the reason why traditional Java applications running in JVM are not easy to compile and run in SVM?

Alibaba cloud Q & A 2022-02-13 07:04:27 阅读数:817

reason traditional java applications running

Traditional running JVM Of Java Application is not easy in SVM What is the reason for compiling and running ?




Take the answer 1:

because Java It's a static language , But it contains a lot of dynamic features , Including reflections ,Class Loading,Bytecode Instrument (BCI) wait , These dynamic characteristics are essentially violations of Gr aa lVM / SVM Required Closed -World Assumption (CWA) principle .


copyright:author[Alibaba cloud Q & A],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/02/202202130704256317.html