![]() Use of direct field access, as opposed to accessor methodsīecause Java bytecodes were designed to be compact, natively compiled code can be considerably larger than the original bytecode. The exact speed increase is dependent on several factors, including: Native compilation provides a speed increase ranging from two to ten times the speed of the bytecode interpretation. Without native compilation, the Java code you load to the server is interpreted and the underlying core classes upon which your code relies, such as java.lang.*, are natively compiled. For example, you can natively compile code with CPU-intensive classes. ![]() To regain some of the performance loss, you can natively compile certain classes. Translating Java bytecodes into machine instructions degrades performance. To accomplish these goals, some execution performance was sacrificed. The Java language was designed for a platform-independent and secure development model.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |