首页 > 编程语言 > 详细

Java overview && JVM

时间:2016-06-26 16:48:48      阅读:195      评论:0      收藏:0      [点我收藏+]

参考: 

http://www.cnblogs.com/java-chl/p/5614940.html

http://www.studytonight.com/java/component-of-java.php

技术分享

 

 

classLoader: loads the class for execution:

method area: stores pre-class structure as constant pool

heap: in which objects are allocated

stack: local variables and partial results are stores here.  Each thread has a private JVM stack created when the thread is created.

program register: prohram register holds the address of JVM instruction currently being executed

native method stack: it contains all native used in application.

execution engine: controls the execute of instructions contained in the methods of trhe classes

native method interface: gives an interface between java code and native code during execution

native method libraries: consist of files required for the execution of native code

 

Difference between JDK and JRE

JRE: The Java Runtime Environment provides the libraires, the JVM, and other components to run applets and applications written in JAVA. JRE does not contain tools and utilities such as compliers or debuggers for developing applets and applications

技术分享

 

 

JDK: The JDK development kit is a super set of the JRE, and contains everything that is in the JRE, plus tools as te compilers and 

debuggers necessary for developing applets and applications

技术分享

 

Java overview && JVM

原文:http://www.cnblogs.com/morningdew/p/5617679.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!