Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can the type of compilation used affect the execution of my program?

0
10 Posted

Can the type of compilation used affect the execution of my program?

0

Yes, you should use the compilation options to compile the time-critical code. By default, Java does things lazily. The classes are loaded, initialized, and compiled dynamically when needed for the first time.. This creates non-determinism. Java RTS provides a compilation scheme to avoid dynamic compilation delays. By default, the Just-In-Time (JIT) is used for java.lang.Threads. The other, real-time, threads use Initialization Time Compilation (ITC). You specify in a file the list of methods to be compiled for these threads, and they will be compiled when their class is initialized. To make this more user-friendly, the file can be automatically generated with a command-line option. This is documented in the Compilation Guide for the Java RTS 2.1 product.

0

Yes, you should use the compilation options to compile the time-critical code. By default, Java does things lazily. The classes are loaded, initialized, and compiled dynamically when needed for the first time. This creates non-determinism. Java RTS provides a compilation scheme to avoid dynamic compilation delays. By default, the Just-In-Time (JIT) is used for java.lang.Threads. The other, real-time, threads use Initialization Time Compilation (ITC). You specify in a file the list of methods to be compiled for these threads, and they will be compiled when their class is initialized. To make this more user-friendly, the file can be automatically generated with a command-line option. This is documented in the Compilation Guide for the Java RTS product.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123