SlideShare a Scribd company logo
By: Nikhil
Sharma.
JAVA VIRTUAL
MACHINE(JVM)
Java Platform.
Editions of Java.
Big Picture of Java.
Java “Fanboi”.
What is JVM.
What JVM does.
Internal Architecture of
JVM.
Data Types of JVM.
Garbage Collection.
What is JDK & JRE.
Relation among JVM,
JDK & JRE.
Security Promises of
JVM.
INDEX
Java Platform is a suite of programs that
facilitate developing & running programs written
in java programming language.
The platform is not specific to any processor or
Operating System.
There are multiple platforms each targeting a
different class of devices.
JAVA PLATFORM
Java SE: It is the Java Standard Edition that
contains basic core java classes.
Java EE: It is the Java Enterprise Edition & it
contain classes that are beyond Java SE.
Java ME: It stands for Java Micro Edition for
developing codes for portable devices.
EDITIONS OF JAVA
BIG PICTURE OF JAVA
 Speaking of Java as a
language as opposed to the
JVM platform, James
Gosling, the Father of Java,
said "Most people talk about
Java the language, and this
may sound odd coming from
me, but I could hardly care
less."
 He went on to explain, "What
I really care about is the Java
Virtual Machine as a concept,
because that is the thing that
ties it all together."
JVM “FANBOI”
Java Virtual Machine is the heart of entire Java
program execution process.
It’s an abstract machine. It is a specification that
provides runtime environment in which java
bytecode can be executed.
JVM is platform dependent.
It is responsible for taking .class file &
converting each byte code instructions into the
machine language instruction that can be
executed by the microprocessor.
WHAT IS JVM
The JVM performs following operation—
Loads code.
Verifies code.
Executes code.
Provides Runtime Environment.
WHAT JVM DOES
First of all, it loads .class file into memory.
Then it verifies whether all byte code
instructions are proper or not. If it finds any
instruction suspicious, the execution is rejected
immediately.
If the byte instructions are proper, then it
allocates necessary memory to execute the
program.
STEPS UNDERTAKEN
INTERNAL ARCHITECTURE
OF JVM
Classloader: Classloader is a subsystem of JVM
that is used to load class files.
Method Area: Method area is the memory block,
which stores the class code, code of the
variables, and code of the method in java
programs.
Heap: It is the runtime data area in which
objects are allocated.
CONTD.
Java Stacks: Java stacks are memory area where
the java methods are executed. While executing
methods, a separate frame will be created in the
java stack, where the method is executed. JVM
uses separate threads(or process) to execute each
methods.
PC Registers: These are memory areas which
contains memory address of instructions of the
methods.
CONTD.
Native Method Stacks: It contains all the native
methods used in the applications. Native
methods are executed in these stacks.
Native Method Interface/Libraries: To execute
the native methods, generally native method
libraries are required. These header files are
located & connected to JVM by a program,
called Native method interface.
CONTD.
Execution Engine: Execution engine contains—
i. Interpreter.
ii. JIT(Just In Time) complier.
these are responsible for converting the byte
code instructions into machine code so that the
processor will execute them.
CONTD.
DATA TYPES OF JVM
STORAGE & COMPUTATION
TYPE INSIDE THE JVM
Each object consumes some memory, of which
all there is a limited area. Eventually, the
memory allocated to these objects must be
reclaimed when they aren’t used. The JVM
reclaims these objects automatically through a
process called Garbage collection.
An object is ready to be garbage collected when
it is no longer alive.
Garbage collector uses many algorithm but the
most commonly used algorithm is mark & sweep.
GARBAGE COLLECTION.
EXAMPLE OF GARBAGE
COLLECTOR
OUTPUT OF ABOVE CODING
JRE is an acronym for Java Runtime
Environment. It is used to provide runtime
environment. It is the implementation of JVM.
WHAT IS JRE
JDK is an acronym for Java Development Kit. It
physically exists. It contains JRE + development
tools.
WHAT IS JDK
RELATION AMONG JVM, JDK
& JRE.
 Every object is constructed exactly once before it is
used.
 Every local variable & field is initialized before it is
used.
 Final methods cannot be overridden, & final classes
cannot be sub classed.
 Many More..
The java platform security architecture depends on all the
promises & many more..
SECURITY PROMISES OF
JVM
Java virtual machine
Ad

More Related Content

What's hot (20)

Java virtual machine
Java virtual machineJava virtual machine
Java virtual machine
baabtra.com - No. 1 supplier of quality freshers
 
JVM
JVMJVM
JVM
Prity Bhudolia
 
Introduction to java
Introduction to java Introduction to java
Introduction to java
Java Lover
 
Java Virtual Machine - Internal Architecture
Java Virtual Machine - Internal ArchitectureJava Virtual Machine - Internal Architecture
Java Virtual Machine - Internal Architecture
subnesh
 
Java Introduction
Java IntroductionJava Introduction
Java Introduction
sunmitraeducation
 
Jdk,jre,jvm
Jdk,jre,jvmJdk,jre,jvm
Jdk,jre,jvm
Kritika Goel
 
JVM
JVMJVM
JVM
baabtra.com - No. 1 supplier of quality freshers
 
Presentation on java
Presentation  on  javaPresentation  on  java
Presentation on java
shashi shekhar
 
Java buzzwords
Java buzzwordsJava buzzwords
Java buzzwords
ramesh517
 
Static Members-Java.pptx
Static Members-Java.pptxStatic Members-Java.pptx
Static Members-Java.pptx
ADDAGIRIVENKATARAVIC
 
QSpiders - Jdk Jvm Jre and Jit
QSpiders - Jdk Jvm Jre and JitQSpiders - Jdk Jvm Jre and Jit
QSpiders - Jdk Jvm Jre and Jit
Qspiders - Software Testing Training Institute
 
Introduction to java (revised)
Introduction to java (revised)Introduction to java (revised)
Introduction to java (revised)
Sujit Majety
 
JDK,JRE,JVM
JDK,JRE,JVMJDK,JRE,JVM
JDK,JRE,JVM
Cognizant
 
Java Virtual Machine (JVM), Difference JDK, JRE & JVM
Java Virtual Machine (JVM), Difference JDK, JRE & JVMJava Virtual Machine (JVM), Difference JDK, JRE & JVM
Java Virtual Machine (JVM), Difference JDK, JRE & JVM
shamnasain
 
Java byte code presentation
Java byte code presentationJava byte code presentation
Java byte code presentation
Mahnoor Hashmi
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to java
Saba Ameer
 
Introduction to java
Introduction to java Introduction to java
Introduction to java
Sandeep Rawat
 
Main method in java
Main method in javaMain method in java
Main method in java
Hitesh Kumar
 
Features of JAVA Programming Language.
Features of JAVA Programming Language.Features of JAVA Programming Language.
Features of JAVA Programming Language.
Bhautik Jethva
 
Java threads
Java threadsJava threads
Java threads
Prabhakaran V M
 

Viewers also liked (20)

Exception handling in java
Exception handling in javaException handling in java
Exception handling in java
priyankazope
 
Inside the jvm
Inside the jvmInside the jvm
Inside the jvm
Benjamin Kim
 
Performance Demystified for SQL Server on Azure Virtual Machines
Performance Demystified for SQL Server on Azure Virtual MachinesPerformance Demystified for SQL Server on Azure Virtual Machines
Performance Demystified for SQL Server on Azure Virtual Machines
Amit Banerjee
 
Jvm Architecture
Jvm ArchitectureJvm Architecture
Jvm Architecture
ThirupathiReddy Vajjala
 
Virtual Machine Performance
Virtual Machine PerformanceVirtual Machine Performance
Virtual Machine Performance
Qian Lin
 
Splunking the JVM (Java Virtual Machine)
Splunking the JVM (Java Virtual Machine)Splunking the JVM (Java Virtual Machine)
Splunking the JVM (Java Virtual Machine)
Damien Dallimore
 
Java virtual machine
Java virtual machineJava virtual machine
Java virtual machine
Dhanith Krishna
 
The Real Thing: Java Virtual Machine
The Real Thing: Java Virtual MachineThe Real Thing: Java Virtual Machine
The Real Thing: Java Virtual Machine
Frontech
 
QSpiders - Memory (JVM architecture)
QSpiders - Memory (JVM architecture)QSpiders - Memory (JVM architecture)
QSpiders - Memory (JVM architecture)
Qspiders - Software Testing Training Institute
 
Understanding JVM
Understanding JVMUnderstanding JVM
Understanding JVM
Aparna Chaudhary
 
Architecture diagram of jvm
Architecture diagram of jvmArchitecture diagram of jvm
Architecture diagram of jvm
home
 
JVM- Java Virtual Machine
JVM- Java Virtual MachineJVM- Java Virtual Machine
JVM- Java Virtual Machine
Manasvi Mehta
 
Virtual machines and their architecture
Virtual machines and their architectureVirtual machines and their architecture
Virtual machines and their architecture
Mrinmoy Dalal
 
Virtual Machines
Virtual MachinesVirtual Machines
Virtual Machines
Joa Ebert
 
Virtual machine
Virtual machineVirtual machine
Virtual machine
Nikunj Dhameliya
 
Знакомство с Ethereum virtual machine
Знакомство с Ethereum virtual machineЗнакомство с Ethereum virtual machine
Знакомство с Ethereum virtual machine
Sergey Lonshakov
 
Jvm Performance Tunning
Jvm Performance TunningJvm Performance Tunning
Jvm Performance Tunning
Terry Cho
 
Virtualization with KVM (Kernel-based Virtual Machine)
Virtualization with KVM (Kernel-based Virtual Machine)Virtualization with KVM (Kernel-based Virtual Machine)
Virtualization with KVM (Kernel-based Virtual Machine)
Novell
 
Virtual machine
Virtual machineVirtual machine
Virtual machine
IGZ Software house
 
1.Introduction to virtualization
1.Introduction to virtualization1.Introduction to virtualization
1.Introduction to virtualization
Hwanju Kim
 
Exception handling in java
Exception handling in javaException handling in java
Exception handling in java
priyankazope
 
Performance Demystified for SQL Server on Azure Virtual Machines
Performance Demystified for SQL Server on Azure Virtual MachinesPerformance Demystified for SQL Server on Azure Virtual Machines
Performance Demystified for SQL Server on Azure Virtual Machines
Amit Banerjee
 
Virtual Machine Performance
Virtual Machine PerformanceVirtual Machine Performance
Virtual Machine Performance
Qian Lin
 
Splunking the JVM (Java Virtual Machine)
Splunking the JVM (Java Virtual Machine)Splunking the JVM (Java Virtual Machine)
Splunking the JVM (Java Virtual Machine)
Damien Dallimore
 
The Real Thing: Java Virtual Machine
The Real Thing: Java Virtual MachineThe Real Thing: Java Virtual Machine
The Real Thing: Java Virtual Machine
Frontech
 
Architecture diagram of jvm
Architecture diagram of jvmArchitecture diagram of jvm
Architecture diagram of jvm
home
 
JVM- Java Virtual Machine
JVM- Java Virtual MachineJVM- Java Virtual Machine
JVM- Java Virtual Machine
Manasvi Mehta
 
Virtual machines and their architecture
Virtual machines and their architectureVirtual machines and their architecture
Virtual machines and their architecture
Mrinmoy Dalal
 
Virtual Machines
Virtual MachinesVirtual Machines
Virtual Machines
Joa Ebert
 
Знакомство с Ethereum virtual machine
Знакомство с Ethereum virtual machineЗнакомство с Ethereum virtual machine
Знакомство с Ethereum virtual machine
Sergey Lonshakov
 
Jvm Performance Tunning
Jvm Performance TunningJvm Performance Tunning
Jvm Performance Tunning
Terry Cho
 
Virtualization with KVM (Kernel-based Virtual Machine)
Virtualization with KVM (Kernel-based Virtual Machine)Virtualization with KVM (Kernel-based Virtual Machine)
Virtualization with KVM (Kernel-based Virtual Machine)
Novell
 
1.Introduction to virtualization
1.Introduction to virtualization1.Introduction to virtualization
1.Introduction to virtualization
Hwanju Kim
 
Ad

Similar to Java virtual machine (20)

Basic Java I
Basic Java IBasic Java I
Basic Java I
SSN College of Engineering, Kalavakkam
 
Java JDK.docx
Java JDK.docxJava JDK.docx
Java JDK.docx
Bornali Das
 
Javanotes ww8
Javanotes ww8Javanotes ww8
Javanotes ww8
kumar467
 
Java notes
Java notesJava notes
Java notes
Chaitanya Rajkumar Limmala
 
JAVA for Every one
JAVA for Every oneJAVA for Every one
JAVA for Every one
Satyam Pandey
 
A begineers guide of JAVA - Getting Started
 A begineers guide of JAVA - Getting Started A begineers guide of JAVA - Getting Started
A begineers guide of JAVA - Getting Started
Rakesh Madugula
 
Introduction to Java Programming, Basic Structure, variables Data type, input...
Introduction to Java Programming, Basic Structure, variables Data type, input...Introduction to Java Programming, Basic Structure, variables Data type, input...
Introduction to Java Programming, Basic Structure, variables Data type, input...
Mr. Akaash
 
A Brief study on JVM A Brief study on JVM
A Brief study on JVM A Brief study on JVMA Brief study on JVM A Brief study on JVM
A Brief study on JVM A Brief study on JVM
BRNSSPublicationHubI
 
JAVA ARCHITECTURES PPT | "Mastering Java: A Comprehensive Guide to Core Conc...
JAVA ARCHITECTURES PPT  | "Mastering Java: A Comprehensive Guide to Core Conc...JAVA ARCHITECTURES PPT  | "Mastering Java: A Comprehensive Guide to Core Conc...
JAVA ARCHITECTURES PPT | "Mastering Java: A Comprehensive Guide to Core Conc...
vishnuprasath2603
 
JAVA ARCHITECTURES PPT | "Mastering Java: A Comprehensive Guide to Core Conc...
JAVA ARCHITECTURES PPT  | "Mastering Java: A Comprehensive Guide to Core Conc...JAVA ARCHITECTURES PPT  | "Mastering Java: A Comprehensive Guide to Core Conc...
JAVA ARCHITECTURES PPT | "Mastering Java: A Comprehensive Guide to Core Conc...
vishnuprasath2603
 
Java byte code & virtual machine
Java byte code & virtual machineJava byte code & virtual machine
Java byte code & virtual machine
Laxman Puri
 
JVM Architecture – How It Works.pdf
JVM Architecture – How It Works.pdfJVM Architecture – How It Works.pdf
JVM Architecture – How It Works.pdf
Geekster
 
JVM.pptx
JVM.pptxJVM.pptx
JVM.pptx
V.V.Vanniaperumal College for Women
 
Iintroduction to java , Java Coding , basics of java.pptx
Iintroduction to java , Java Coding , basics of java.pptxIintroduction to java , Java Coding , basics of java.pptx
Iintroduction to java , Java Coding , basics of java.pptx
MayankParashar31
 
Java unit 1
Java unit 1Java unit 1
Java unit 1
Shipra Swati
 
Introduction to Java
Introduction to JavaIntroduction to Java
Introduction to Java
Ankita Totala
 
What Your Jvm Has Been Trying To Tell You
What Your Jvm Has Been Trying To Tell YouWhat Your Jvm Has Been Trying To Tell You
What Your Jvm Has Been Trying To Tell You
John Pape
 
JAVAPart1_BasicIntroduction.pptx
JAVAPart1_BasicIntroduction.pptxJAVAPart1_BasicIntroduction.pptx
JAVAPart1_BasicIntroduction.pptx
Murugesh33
 
JAVA_Day1_BasicIntroduction.pptx
JAVA_Day1_BasicIntroduction.pptxJAVA_Day1_BasicIntroduction.pptx
JAVA_Day1_BasicIntroduction.pptx
Murugesh33
 
Java the reason behind its never ending demand
Java the reason behind its never ending demandJava the reason behind its never ending demand
Java the reason behind its never ending demand
Deepika Chaudhary
 
Javanotes ww8
Javanotes ww8Javanotes ww8
Javanotes ww8
kumar467
 
A begineers guide of JAVA - Getting Started
 A begineers guide of JAVA - Getting Started A begineers guide of JAVA - Getting Started
A begineers guide of JAVA - Getting Started
Rakesh Madugula
 
Introduction to Java Programming, Basic Structure, variables Data type, input...
Introduction to Java Programming, Basic Structure, variables Data type, input...Introduction to Java Programming, Basic Structure, variables Data type, input...
Introduction to Java Programming, Basic Structure, variables Data type, input...
Mr. Akaash
 
A Brief study on JVM A Brief study on JVM
A Brief study on JVM A Brief study on JVMA Brief study on JVM A Brief study on JVM
A Brief study on JVM A Brief study on JVM
BRNSSPublicationHubI
 
JAVA ARCHITECTURES PPT | "Mastering Java: A Comprehensive Guide to Core Conc...
JAVA ARCHITECTURES PPT  | "Mastering Java: A Comprehensive Guide to Core Conc...JAVA ARCHITECTURES PPT  | "Mastering Java: A Comprehensive Guide to Core Conc...
JAVA ARCHITECTURES PPT | "Mastering Java: A Comprehensive Guide to Core Conc...
vishnuprasath2603
 
JAVA ARCHITECTURES PPT | "Mastering Java: A Comprehensive Guide to Core Conc...
JAVA ARCHITECTURES PPT  | "Mastering Java: A Comprehensive Guide to Core Conc...JAVA ARCHITECTURES PPT  | "Mastering Java: A Comprehensive Guide to Core Conc...
JAVA ARCHITECTURES PPT | "Mastering Java: A Comprehensive Guide to Core Conc...
vishnuprasath2603
 
Java byte code & virtual machine
Java byte code & virtual machineJava byte code & virtual machine
Java byte code & virtual machine
Laxman Puri
 
JVM Architecture – How It Works.pdf
JVM Architecture – How It Works.pdfJVM Architecture – How It Works.pdf
JVM Architecture – How It Works.pdf
Geekster
 
Iintroduction to java , Java Coding , basics of java.pptx
Iintroduction to java , Java Coding , basics of java.pptxIintroduction to java , Java Coding , basics of java.pptx
Iintroduction to java , Java Coding , basics of java.pptx
MayankParashar31
 
Introduction to Java
Introduction to JavaIntroduction to Java
Introduction to Java
Ankita Totala
 
What Your Jvm Has Been Trying To Tell You
What Your Jvm Has Been Trying To Tell YouWhat Your Jvm Has Been Trying To Tell You
What Your Jvm Has Been Trying To Tell You
John Pape
 
JAVAPart1_BasicIntroduction.pptx
JAVAPart1_BasicIntroduction.pptxJAVAPart1_BasicIntroduction.pptx
JAVAPart1_BasicIntroduction.pptx
Murugesh33
 
JAVA_Day1_BasicIntroduction.pptx
JAVA_Day1_BasicIntroduction.pptxJAVA_Day1_BasicIntroduction.pptx
JAVA_Day1_BasicIntroduction.pptx
Murugesh33
 
Java the reason behind its never ending demand
Java the reason behind its never ending demandJava the reason behind its never ending demand
Java the reason behind its never ending demand
Deepika Chaudhary
 
Ad

Recently uploaded (20)

Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul
 
Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025
Splunk
 
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager APIUiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPathCommunity
 
Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.
hpbmnnxrvb
 
2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx
Samuele Fogagnolo
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
 
Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)
Ortus Solutions, Corp
 
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven InsightsAndrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell
 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
Build Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For DevsBuild Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For Devs
Brian McKeiver
 
Semantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AISemantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AI
artmondano
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
BookNet Canada
 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
How analogue intelligence complements AI
How analogue intelligence complements AIHow analogue intelligence complements AI
How analogue intelligence complements AI
Paul Rowe
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-UmgebungenHCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
panagenda
 
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul
 
Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025
Splunk
 
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager APIUiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPathCommunity
 
Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.
hpbmnnxrvb
 
2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx
Samuele Fogagnolo
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
 
Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)
Ortus Solutions, Corp
 
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven InsightsAndrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell
 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
Build Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For DevsBuild Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For Devs
Brian McKeiver
 
Semantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AISemantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AI
artmondano
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
BookNet Canada
 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
How analogue intelligence complements AI
How analogue intelligence complements AIHow analogue intelligence complements AI
How analogue intelligence complements AI
Paul Rowe
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-UmgebungenHCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
panagenda
 

Java virtual machine

  • 2. Java Platform. Editions of Java. Big Picture of Java. Java “Fanboi”. What is JVM. What JVM does. Internal Architecture of JVM. Data Types of JVM. Garbage Collection. What is JDK & JRE. Relation among JVM, JDK & JRE. Security Promises of JVM. INDEX
  • 3. Java Platform is a suite of programs that facilitate developing & running programs written in java programming language. The platform is not specific to any processor or Operating System. There are multiple platforms each targeting a different class of devices. JAVA PLATFORM
  • 4. Java SE: It is the Java Standard Edition that contains basic core java classes. Java EE: It is the Java Enterprise Edition & it contain classes that are beyond Java SE. Java ME: It stands for Java Micro Edition for developing codes for portable devices. EDITIONS OF JAVA
  • 6.  Speaking of Java as a language as opposed to the JVM platform, James Gosling, the Father of Java, said "Most people talk about Java the language, and this may sound odd coming from me, but I could hardly care less."  He went on to explain, "What I really care about is the Java Virtual Machine as a concept, because that is the thing that ties it all together." JVM “FANBOI”
  • 7. Java Virtual Machine is the heart of entire Java program execution process. It’s an abstract machine. It is a specification that provides runtime environment in which java bytecode can be executed. JVM is platform dependent. It is responsible for taking .class file & converting each byte code instructions into the machine language instruction that can be executed by the microprocessor. WHAT IS JVM
  • 8. The JVM performs following operation— Loads code. Verifies code. Executes code. Provides Runtime Environment. WHAT JVM DOES
  • 9. First of all, it loads .class file into memory. Then it verifies whether all byte code instructions are proper or not. If it finds any instruction suspicious, the execution is rejected immediately. If the byte instructions are proper, then it allocates necessary memory to execute the program. STEPS UNDERTAKEN
  • 11. Classloader: Classloader is a subsystem of JVM that is used to load class files. Method Area: Method area is the memory block, which stores the class code, code of the variables, and code of the method in java programs. Heap: It is the runtime data area in which objects are allocated. CONTD.
  • 12. Java Stacks: Java stacks are memory area where the java methods are executed. While executing methods, a separate frame will be created in the java stack, where the method is executed. JVM uses separate threads(or process) to execute each methods. PC Registers: These are memory areas which contains memory address of instructions of the methods. CONTD.
  • 13. Native Method Stacks: It contains all the native methods used in the applications. Native methods are executed in these stacks. Native Method Interface/Libraries: To execute the native methods, generally native method libraries are required. These header files are located & connected to JVM by a program, called Native method interface. CONTD.
  • 14. Execution Engine: Execution engine contains— i. Interpreter. ii. JIT(Just In Time) complier. these are responsible for converting the byte code instructions into machine code so that the processor will execute them. CONTD.
  • 16. STORAGE & COMPUTATION TYPE INSIDE THE JVM
  • 17. Each object consumes some memory, of which all there is a limited area. Eventually, the memory allocated to these objects must be reclaimed when they aren’t used. The JVM reclaims these objects automatically through a process called Garbage collection. An object is ready to be garbage collected when it is no longer alive. Garbage collector uses many algorithm but the most commonly used algorithm is mark & sweep. GARBAGE COLLECTION.
  • 19. OUTPUT OF ABOVE CODING
  • 20. JRE is an acronym for Java Runtime Environment. It is used to provide runtime environment. It is the implementation of JVM. WHAT IS JRE
  • 21. JDK is an acronym for Java Development Kit. It physically exists. It contains JRE + development tools. WHAT IS JDK
  • 22. RELATION AMONG JVM, JDK & JRE.
  • 23.  Every object is constructed exactly once before it is used.  Every local variable & field is initialized before it is used.  Final methods cannot be overridden, & final classes cannot be sub classed.  Many More.. The java platform security architecture depends on all the promises & many more.. SECURITY PROMISES OF JVM