Java - Java Virtual Machine (JVM|Java)

Java Conceptuel Diagram

About

Ie the java executable:

java

Different JVM exist and are embedded/available in a image

(Options|Arguments)

Options that:

  • begin with -X are non-standard (not guaranteed to be supported on all VM implementations), and are subject to change without notice in subsequent releases of the JDK.
  • Options that are specified with -XX are not stable and are subject to change without notice.

Performance

The garbage collection is the most important factor in tuning a JVM. in order to get a good application performance.

Check it

To be able to check the JVM and to return a message to the user, you need to compile the main class with a lower jdk.

You need then to compile your source code differently. See Configuring compile to run twice

Documentation / Reference





Discover More
Compiler
Compiler - Binary

binary files in the context of a compiler are executable file created by the compiler targeting a run-time (execution) environment. They are called binary files because they contain binary data that can...
How to bundle a jvm in a Gradle application targeting Windows, Linux or Macos

The gradle application plugin does not give the possibility to embed a jvm. This page shows how to do with a minimal knowledge of Gradle code
Java Conceptuel Diagram
JMX - JVM

The Java Virtual Machine (Java VM) is highly instrumented using the JMX technology. You can start a JMX agent to access the built-in Java VM instrumentation, and thereby monitor and manage a Java VM...
Java Conceptuel Diagram
JMX - Visualvm Tool (Client)

A Jmx client graphical tool that provides detailed information the Java technology-based applications (Java applications) while they are running in a Java Virtual Machine. Java VisualVM provides: memory...
Jconsole Memory Chart
JVM - Memory (The Heap)

The JVM memory consists of the following segments: Heap Memory, which is the storage for Java objects Non-Heap Memory, which is used by Java to store loaded classes and other meta-data JVM code...
Java Conceptuel Diagram
Java - ( JDK | J2EE | J2SE )

SDK in Java core APIs for writing J2EE components, core development tools, and the Java virtual machine JDBC API 2.0 The Java 2 Platform, Standard Edition (J2SE) SDK is required to run...
Java Conceptuel Diagram
Java - Applet

An applet is a small client application written in the Java programming language that executes in the Java virtual machine installed in the Web browser. However, client systems will likely need the Java...
Java Conceptuel Diagram
Java - Bytecode (classfile)

When you compile a program written in the Java programming language, the compiler converts the human-readable source file into platform-independent code in Classfiles (.class) that a Java Virtual Machine...
Simple Class
Java - Class (Definition)

A java/lang/Classclass provides the blueprint for objects; you create an object from a class. All classes are derived from the Object class. A class declaration names the class and encloses the class...
Java Conceptuel Diagram
Java - Class (Loader|Loading) Process

A class loader is a piece of code that load a class. Class loaders may typically be used by security managers to indicate security domains. Classes are loaded into the JVM only on demand, so even...



Share this page:
Follow us:
Task Runner