Java - VIRTUAL MACHINE - Preeti Man - ebook

This book intends to educate Java practitioners on JAVA Virtual Machine through detailed explanation about the intended purpose and functions in a JVM.

Ebooka przeczytasz w aplikacjach Legimi na:

czytnikach certyfikowanych
przez Legimi

Liczba stron: 15

Odsłuch ebooka (TTS) dostepny w abonamencie „ebooki+audiobooki bez limitu” w aplikacjach Legimi na:




Preeti Man

Published by Preeti Man, 2018.

While every precaution has been taken in the preparation of this book, the publisher assumes no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein.


First edition. November 8, 2018.

Copyright © 2018 Preeti Man.

Written by Preeti Man.

10 9 8 7 6 5 4 3 2 1

Table of Contents

Title Page

Copyright Page

Java - GUI Applications

The security model

What about Just-In-Time compilers?

Java Virtual Machine from Sun

Java Virtual Machine

Java Virtual Machine (JVM) - A program that runs under an operating system and interprets Java programs. The Java Virtual Machine ideally will not allow any harm to come to the computer because it has no control of the operating system and acts as if it is a separate computer. Thus, if a malicious Java program were to crash the Java Virtual Machine the operating system would remain stable. Another advantage of this mechanism is that different OSes can have their own Java Virtual Machines that should act identically. Thus Java should be able to be run across different platforms easily with no code changes. In the real world, however, this is not always the case.

The Java virtual machine (JVM) is the cornerstone of the Java and Java 2 platforms. It is the component of the technology responsible for its hardware- and operating system- independence, the small size of its compiled code, and its ability to protect users from malicious programs. The Java virtual machine is an abstract computing machine. Like a real computing machine, it has an instruction set and manipulates various memory areas at run time. It is reasonably common to implement a programming language using a virtual machine; the best-known virtual machine may be the P-Code machine of