Essay sample library > Automatic Parallelization Approach Based on Java Virtual Machine

Automatic Parallelization Approach Based on Java Virtual Machine

2023-02-05 09:09:03

We propose a new method for automatically parallelizing Java programs. This method gathers online trace information during program execution and dynamically recompiles methods that can be executed in parallel. It also describes the cost-effectiveness model for making parallelized decisions and the parallel execution environment for executing parallelized code. These technologies are implemented in Jikes RVM. Finally, we evaluate the approach by parallelizing consecutive benchmarks and comparing performance against manual parallel version of these benchmarks.

NEO's Smart Contract runs on the NEO virtual machine (NeoVM). Lightweight general-purpose virtual machine (VM) NEO DevPack, which closely reflects the advanced architecture of JVM (Java Virtual Machine) and .NET Runtime, includes a high-level language compiler and an integrated development environment (IDE) plugin . . Because of the similar high level architecture, the NeoVM compiler can compile Java bytecode and .NET MSIL into the NeoVM instruction set. NeoVM is designed to have less coupling with the NEO block chain and high cohesion. As a result, NeoVM can be integrated with various IDEs to provide a testing environment that matches the final production environment. Developers of Java, Kotlin, C #, VB.NET, and F # can develop and test smart contract templates directly in Visual Studio (VS), Eclipse, and other IDE environments.

Oracle software that converts Java bytecode (intermediate language) programs into machine language and executes them. The Java Virtual Machine (JVM) is a Java platform runtime engine that makes programs written in Java or other languages ​​compiled into Java bytecode and can be run on any computer with native JVM. The JVM runs on the client and server, and the web browser can activate the JVM when it encounters a Java applet.

Kotlin is running on JVM (Java Virtual Machine) as of today. In fact, it can be adopted very quickly, mainly because it relies on the JVM and can work with Java again. This allows Kotlin to coexist with Java in a single application development, allowing smoother learning transformations (that is, it converts Java code to Kotlin, decompresses Kotlin code and converts it to its Java source You can display the code)

JVM is a virtual machine that executes Java class files in a portable way. To be a virtual machine means that the JVM is an abstraction of the underlying real machine, eg the server running the program. Regardless of the actual operating system or hardware present, the JVM creates a predictable environment for the programs executed within it. However, unlike an actual virtual machine, the JVM does not create a virtual operating system. Writing the JVM as hosted runtime environment or process virtual machine makes it more accurate.