SlideShare una empresa de Scribd logo
1 de 16
JVM Overview References Virtual Machine Background JVM: operational view JVM: structural view Concluding remarks
Reading List ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
What is a virtual machine? ,[object Object],[object Object],[object Object],[object Object]
Design Goals ,[object Object],[object Object],[object Object],[object Object],[object Object]
What is the JVM?
Key Distinction ,[object Object],[object Object],[object Object],[object Object]
JVM: View  ,[object Object],[object Object],[object Object]
VM in action ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Loading ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Link ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Initialization ,[object Object],[object Object],[object Object],[object Object],[object Object]
Example class Super { static { System.out.print(“Super “); } class One { static { System.out.print(“One “); } class Two extends Super { static { System.out.print(“Two “); } class Test { public static void main(String[] args) { One o = null; Two t = new Two(); System.out.println((Object)o == (Object)t); } }
Example class Super { static int taxi = 1729; } class Sub extends Super { static { System.out.print(“Sub “); } class Test { public static void main(String[] args) { System.out.println(Sub.taxi); } }
Creation of new instances ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Finalization ,[object Object],[object Object],[object Object],[object Object],[object Object],void finalize() { classVariable = field;  //  field is now reachable }
VM Exit ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]

Más contenido relacionado

La actualidad más candente

Design Pattern - Singleton Pattern
Design Pattern - Singleton PatternDesign Pattern - Singleton Pattern
Design Pattern - Singleton PatternMudasir Qazi
 
Introduction to Design Patterns and Singleton
Introduction to Design Patterns and SingletonIntroduction to Design Patterns and Singleton
Introduction to Design Patterns and SingletonJonathan Simon
 
Java - Singleton Pattern
Java - Singleton PatternJava - Singleton Pattern
Java - Singleton PatternCharles Casadei
 
First-Class Undefined Classes for Pharo, From Alternative Designs to a Unifie...
First-Class Undefined Classes for Pharo, From Alternative Designs to a Unifie...First-Class Undefined Classes for Pharo, From Alternative Designs to a Unifie...
First-Class Undefined Classes for Pharo, From Alternative Designs to a Unifie...ESUG
 
The Singleton Pattern Presentation
The Singleton Pattern PresentationThe Singleton Pattern Presentation
The Singleton Pattern PresentationJAINIK PATEL
 
Deserialization vulnerabilities
Deserialization vulnerabilitiesDeserialization vulnerabilities
Deserialization vulnerabilitiesGreenD0g
 
Java history, versions, types of errors and exception, quiz
Java history, versions, types of errors and exception, quiz Java history, versions, types of errors and exception, quiz
Java history, versions, types of errors and exception, quiz SAurabh PRajapati
 
Java concurrency in practice
Java concurrency in practiceJava concurrency in practice
Java concurrency in practiceMikalai Alimenkou
 
Cactus in container_unit_test_framework
Cactus in container_unit_test_frameworkCactus in container_unit_test_framework
Cactus in container_unit_test_frameworkKenan Sevindik
 
Unit of competency
Unit of competencyUnit of competency
Unit of competencyloidasacueza
 
Calypso underhood
 Calypso underhood Calypso underhood
Calypso underhoodESUG
 
Singleton Design Pattern - Creation Pattern
Singleton Design Pattern - Creation PatternSingleton Design Pattern - Creation Pattern
Singleton Design Pattern - Creation PatternSeerat Malik
 
Java Deserialization Vulnerabilities - The Forgotten Bug Class (DeepSec Edition)
Java Deserialization Vulnerabilities - The Forgotten Bug Class (DeepSec Edition)Java Deserialization Vulnerabilities - The Forgotten Bug Class (DeepSec Edition)
Java Deserialization Vulnerabilities - The Forgotten Bug Class (DeepSec Edition)CODE WHITE GmbH
 
Multi t hreading_14_10
Multi t hreading_14_10Multi t hreading_14_10
Multi t hreading_14_10Minal Maniar
 
Java New Evolution
Java New EvolutionJava New Evolution
Java New EvolutionAllan Huang
 
Class method object
Class method objectClass method object
Class method objectMinal Maniar
 
Java byte code & virtual machine
Java byte code & virtual machineJava byte code & virtual machine
Java byte code & virtual machineLaxman Puri
 
Exploiting Deserialization Vulnerabilities in Java
Exploiting Deserialization Vulnerabilities in JavaExploiting Deserialization Vulnerabilities in Java
Exploiting Deserialization Vulnerabilities in JavaCODE WHITE GmbH
 

La actualidad más candente (20)

Design Pattern - Singleton Pattern
Design Pattern - Singleton PatternDesign Pattern - Singleton Pattern
Design Pattern - Singleton Pattern
 
Introduction to Design Patterns and Singleton
Introduction to Design Patterns and SingletonIntroduction to Design Patterns and Singleton
Introduction to Design Patterns and Singleton
 
Java - Singleton Pattern
Java - Singleton PatternJava - Singleton Pattern
Java - Singleton Pattern
 
First-Class Undefined Classes for Pharo, From Alternative Designs to a Unifie...
First-Class Undefined Classes for Pharo, From Alternative Designs to a Unifie...First-Class Undefined Classes for Pharo, From Alternative Designs to a Unifie...
First-Class Undefined Classes for Pharo, From Alternative Designs to a Unifie...
 
The Singleton Pattern Presentation
The Singleton Pattern PresentationThe Singleton Pattern Presentation
The Singleton Pattern Presentation
 
Deserialization vulnerabilities
Deserialization vulnerabilitiesDeserialization vulnerabilities
Deserialization vulnerabilities
 
JAVA Threads explained
JAVA Threads explained JAVA Threads explained
JAVA Threads explained
 
Java history, versions, types of errors and exception, quiz
Java history, versions, types of errors and exception, quiz Java history, versions, types of errors and exception, quiz
Java history, versions, types of errors and exception, quiz
 
Java concurrency in practice
Java concurrency in practiceJava concurrency in practice
Java concurrency in practice
 
Cactus in container_unit_test_framework
Cactus in container_unit_test_frameworkCactus in container_unit_test_framework
Cactus in container_unit_test_framework
 
Unit of competency
Unit of competencyUnit of competency
Unit of competency
 
Calypso underhood
 Calypso underhood Calypso underhood
Calypso underhood
 
Singleton Design Pattern - Creation Pattern
Singleton Design Pattern - Creation PatternSingleton Design Pattern - Creation Pattern
Singleton Design Pattern - Creation Pattern
 
Java Deserialization Vulnerabilities - The Forgotten Bug Class (DeepSec Edition)
Java Deserialization Vulnerabilities - The Forgotten Bug Class (DeepSec Edition)Java Deserialization Vulnerabilities - The Forgotten Bug Class (DeepSec Edition)
Java Deserialization Vulnerabilities - The Forgotten Bug Class (DeepSec Edition)
 
Multi t hreading_14_10
Multi t hreading_14_10Multi t hreading_14_10
Multi t hreading_14_10
 
Java New Evolution
Java New EvolutionJava New Evolution
Java New Evolution
 
1.3 tools and-repl
1.3 tools and-repl1.3 tools and-repl
1.3 tools and-repl
 
Class method object
Class method objectClass method object
Class method object
 
Java byte code & virtual machine
Java byte code & virtual machineJava byte code & virtual machine
Java byte code & virtual machine
 
Exploiting Deserialization Vulnerabilities in Java
Exploiting Deserialization Vulnerabilities in JavaExploiting Deserialization Vulnerabilities in Java
Exploiting Deserialization Vulnerabilities in Java
 

Destacado

upload ppt by browse button
upload ppt by browse buttonupload ppt by browse button
upload ppt by browse buttontechweb08
 
เตรียมตัวพบกับการรายงานตัว
เตรียมตัวพบกับการรายงานตัวเตรียมตัวพบกับการรายงานตัว
เตรียมตัวพบกับการรายงานตัวsuwaluk
 
Visual Art Christopher Gilbert
Visual Art Christopher GilbertVisual Art Christopher Gilbert
Visual Art Christopher GilbertIago Fernández
 
upload ppt1 by browse button
upload ppt1 by browse buttonupload ppt1 by browse button
upload ppt1 by browse buttontechweb08
 
upload ppt by browse button
upload ppt by browse buttonupload ppt by browse button
upload ppt by browse buttontechweb08
 

Destacado (7)

upload ppt by browse button
upload ppt by browse buttonupload ppt by browse button
upload ppt by browse button
 
เตรียมตัวพบกับการรายงานตัว
เตรียมตัวพบกับการรายงานตัวเตรียมตัวพบกับการรายงานตัว
เตรียมตัวพบกับการรายงานตัว
 
ugodmjc
ugodmjcugodmjc
ugodmjc
 
Visual Art Christopher Gilbert
Visual Art Christopher GilbertVisual Art Christopher Gilbert
Visual Art Christopher Gilbert
 
"
""
"
 
upload ppt1 by browse button
upload ppt1 by browse buttonupload ppt1 by browse button
upload ppt1 by browse button
 
upload ppt by browse button
upload ppt by browse buttonupload ppt by browse button
upload ppt by browse button
 

Similar a testing ppt

Advanced java jee material by KV Rao sir
Advanced java jee material by KV Rao sirAdvanced java jee material by KV Rao sir
Advanced java jee material by KV Rao sirAVINASH KUMAR
 
Advance java kvr -satya
Advance java  kvr -satyaAdvance java  kvr -satya
Advance java kvr -satyaSatya Johnny
 
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 StartedRakesh Madugula
 
Java Virtual Machine - Internal Architecture
Java Virtual Machine - Internal ArchitectureJava Virtual Machine - Internal Architecture
Java Virtual Machine - Internal Architecturesubnesh
 
Virtualizing Java in Java (jug.ru)
Virtualizing Java in Java (jug.ru)Virtualizing Java in Java (jug.ru)
Virtualizing Java in Java (jug.ru)aragozin
 
Java Notes by C. Sreedhar, GPREC
Java Notes by C. Sreedhar, GPRECJava Notes by C. Sreedhar, GPREC
Java Notes by C. Sreedhar, GPRECSreedhar Chowdam
 
Unit 1 of java part 2 basic introduction
Unit 1 of java part 2 basic introduction Unit 1 of java part 2 basic introduction
Unit 1 of java part 2 basic introduction AKR Education
 
Java Interview Questions Answers Guide
Java Interview Questions Answers GuideJava Interview Questions Answers Guide
Java Interview Questions Answers GuideDaisyWatson5
 
Development of Java tools using SWT and WALA af Hans Søndergaard, ViaUC
Development of Java tools using SWT and WALA af Hans Søndergaard, ViaUCDevelopment of Java tools using SWT and WALA af Hans Søndergaard, ViaUC
Development of Java tools using SWT and WALA af Hans Søndergaard, ViaUCInfinIT - Innovationsnetværket for it
 
Java basic part 2 : Datatypes Keywords Features Components Security Exceptions
Java basic part 2 : Datatypes Keywords Features Components Security Exceptions Java basic part 2 : Datatypes Keywords Features Components Security Exceptions
Java basic part 2 : Datatypes Keywords Features Components Security Exceptions Soumen Santra
 
iPhone development from a Java perspective (Jazoon '09)
iPhone development from a Java perspective (Jazoon '09)iPhone development from a Java perspective (Jazoon '09)
iPhone development from a Java perspective (Jazoon '09)Netcetera
 

Similar a testing ppt (20)

JVM
JVMJVM
JVM
 
Diving into Java Class Loader
Diving into Java Class LoaderDiving into Java Class Loader
Diving into Java Class Loader
 
Advanced java jee material by KV Rao sir
Advanced java jee material by KV Rao sirAdvanced java jee material by KV Rao sir
Advanced java jee material by KV Rao sir
 
Adv kvr -satya
Adv  kvr -satyaAdv  kvr -satya
Adv kvr -satya
 
Advance java kvr -satya
Advance java  kvr -satyaAdvance java  kvr -satya
Advance java kvr -satya
 
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
 
Java Virtual Machine - Internal Architecture
Java Virtual Machine - Internal ArchitectureJava Virtual Machine - Internal Architecture
Java Virtual Machine - Internal Architecture
 
Exploring lambdas and invokedynamic for embedded systems
Exploring lambdas and invokedynamic for embedded systemsExploring lambdas and invokedynamic for embedded systems
Exploring lambdas and invokedynamic for embedded systems
 
Virtualizing Java in Java (jug.ru)
Virtualizing Java in Java (jug.ru)Virtualizing Java in Java (jug.ru)
Virtualizing Java in Java (jug.ru)
 
Java Notes
Java Notes Java Notes
Java Notes
 
Java Notes by C. Sreedhar, GPREC
Java Notes by C. Sreedhar, GPRECJava Notes by C. Sreedhar, GPREC
Java Notes by C. Sreedhar, GPREC
 
Unit 1 of java part 2 basic introduction
Unit 1 of java part 2 basic introduction Unit 1 of java part 2 basic introduction
Unit 1 of java part 2 basic introduction
 
Lecture 3
Lecture 3Lecture 3
Lecture 3
 
Java Interview Questions Answers Guide
Java Interview Questions Answers GuideJava Interview Questions Answers Guide
Java Interview Questions Answers Guide
 
Slides
SlidesSlides
Slides
 
Development of Java tools using SWT and WALA af Hans Søndergaard, ViaUC
Development of Java tools using SWT and WALA af Hans Søndergaard, ViaUCDevelopment of Java tools using SWT and WALA af Hans Søndergaard, ViaUC
Development of Java tools using SWT and WALA af Hans Søndergaard, ViaUC
 
Java basic part 2 : Datatypes Keywords Features Components Security Exceptions
Java basic part 2 : Datatypes Keywords Features Components Security Exceptions Java basic part 2 : Datatypes Keywords Features Components Security Exceptions
Java basic part 2 : Datatypes Keywords Features Components Security Exceptions
 
iPhone development from a Java perspective (Jazoon '09)
iPhone development from a Java perspective (Jazoon '09)iPhone development from a Java perspective (Jazoon '09)
iPhone development from a Java perspective (Jazoon '09)
 
Java14
Java14Java14
Java14
 
02 basic java programming and operators
02 basic java programming and operators02 basic java programming and operators
02 basic java programming and operators
 

Más de techweb08

Sample Presentation Asset
Sample Presentation AssetSample Presentation Asset
Sample Presentation Assettechweb08
 
Presentation for test
Presentation for testPresentation for test
Presentation for testtechweb08
 
NG Test - Presentation
NG Test - PresentationNG Test - Presentation
NG Test - Presentationtechweb08
 
NG_TEST_SR_Presentation
NG_TEST_SR_PresentationNG_TEST_SR_Presentation
NG_TEST_SR_Presentationtechweb08
 
NG_TEST_Presentation_0510
NG_TEST_Presentation_0510NG_TEST_Presentation_0510
NG_TEST_Presentation_0510techweb08
 
NG_TEST_PRESENTATION
NG_TEST_PRESENTATIONNG_TEST_PRESENTATION
NG_TEST_PRESENTATIONtechweb08
 
NGTEST - presentation title - 041219
NGTEST - presentation title - 041219NGTEST - presentation title - 041219
NGTEST - presentation title - 041219techweb08
 
ngtest-presen-0419
ngtest-presen-0419ngtest-presen-0419
ngtest-presen-0419techweb08
 
ngtest_presentation_0418
ngtest_presentation_0418ngtest_presentation_0418
ngtest_presentation_0418techweb08
 
NGTEST_Presentation
NGTEST_PresentationNGTEST_Presentation
NGTEST_Presentationtechweb08
 
Next Gen - case study
Next Gen - case studyNext Gen - case study
Next Gen - case studytechweb08
 
Next Gen Testing Asset
Next Gen Testing AssetNext Gen Testing Asset
Next Gen Testing Assettechweb08
 
Reducing network complexity and boosting performance with IRF technology
Reducing network complexity and boosting performance with IRF technologyReducing network complexity and boosting performance with IRF technology
Reducing network complexity and boosting performance with IRF technologytechweb08
 
Test DB user
Test DB userTest DB user
Test DB usertechweb08
 

Más de techweb08 (20)

Sample Presentation Asset
Sample Presentation AssetSample Presentation Asset
Sample Presentation Asset
 
testwp2
testwp2testwp2
testwp2
 
testwp1
testwp1testwp1
testwp1
 
Presentation for test
Presentation for testPresentation for test
Presentation for test
 
NG Test - Presentation
NG Test - PresentationNG Test - Presentation
NG Test - Presentation
 
NG_TEST_SR_Presentation
NG_TEST_SR_PresentationNG_TEST_SR_Presentation
NG_TEST_SR_Presentation
 
NG_TEST_Presentation_0510
NG_TEST_Presentation_0510NG_TEST_Presentation_0510
NG_TEST_Presentation_0510
 
NG_TEST_PRESENTATION
NG_TEST_PRESENTATIONNG_TEST_PRESENTATION
NG_TEST_PRESENTATION
 
NGTEST - presentation title - 041219
NGTEST - presentation title - 041219NGTEST - presentation title - 041219
NGTEST - presentation title - 041219
 
ngtest-presen-0419
ngtest-presen-0419ngtest-presen-0419
ngtest-presen-0419
 
ngtest_presentation_0418
ngtest_presentation_0418ngtest_presentation_0418
ngtest_presentation_0418
 
test_wp-4
test_wp-4test_wp-4
test_wp-4
 
test_wp-4
test_wp-4test_wp-4
test_wp-4
 
test_wp-4
test_wp-4test_wp-4
test_wp-4
 
test_wp-4
test_wp-4test_wp-4
test_wp-4
 
NGTEST_Presentation
NGTEST_PresentationNGTEST_Presentation
NGTEST_Presentation
 
Next Gen - case study
Next Gen - case studyNext Gen - case study
Next Gen - case study
 
Next Gen Testing Asset
Next Gen Testing AssetNext Gen Testing Asset
Next Gen Testing Asset
 
Reducing network complexity and boosting performance with IRF technology
Reducing network complexity and boosting performance with IRF technologyReducing network complexity and boosting performance with IRF technology
Reducing network complexity and boosting performance with IRF technology
 
Test DB user
Test DB userTest DB user
Test DB user
 

testing ppt

  • 1. JVM Overview References Virtual Machine Background JVM: operational view JVM: structural view Concluding remarks
  • 2.
  • 3.
  • 4.
  • 5. What is the JVM?
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12. Example class Super { static { System.out.print(“Super “); } class One { static { System.out.print(“One “); } class Two extends Super { static { System.out.print(“Two “); } class Test { public static void main(String[] args) { One o = null; Two t = new Two(); System.out.println((Object)o == (Object)t); } }
  • 13. Example class Super { static int taxi = 1729; } class Sub extends Super { static { System.out.print(“Sub “); } class Test { public static void main(String[] args) { System.out.println(Sub.taxi); } }
  • 14.
  • 15.
  • 16.