Java and the JVM.ppt
《Java and the JVM.ppt》由会员分享,可在线阅读,更多相关《Java and the JVM.ppt(27页珍藏版)》请在麦多课文档分享上搜索。
1、Java and the JVM,Martin Schberl,Java and the JVM,2,Overview,History and Java features Java technology The Java language A first look into the JVM Disassembling of .class files,Java and the JVM,3,History of a Young Java,1992 Oak for a PDA on a SPARC (*7) 1995 Official release as Java Internet 1997 pi
2、coJava Suns Java processor 1998 RTSJ specification start as JSR-01 1999 split into J2SE and J2EE 2000 J2ME 2002 RTSJ final release 2002 first version of JOP ;-),Java and the JVM,4,Java features,Simple and object oriented Look and feel of C Simplified object model with single inheritance Portability
3、Java compiler generates bytecodes Runtime systems for various platforms Size and behavior of basic data types defined Write once, run/debug anywhere,Java and the JVM,5,Java features cont.,Availability Windows, Linux, Solaris, Embedded systems Compiler and runtime are free Free IDEs: Eclipse, Netbean
4、s Library Rich class library Part of the definition Standard GUI toolkit,Java and the JVM,6,Java features cont.,Built-in model for concurrency Threads at the language level Synchronization Libraries are thread-safe Safety No Pointer! Extensive compile-time checking Runtime checking Automatic memory
5、management GC,Java and the JVM,7,Java system overview,Java and the JVM,8,Java Technology,The Java programming language The library (JDK) The Java virtual machine (JVM) Instruction set Binary format Verification,Java and the JVM,9,Java Primitive Data Types,Java and the JVM,10,Objects,Everything belon
6、gs to an object (or a class) No global variables Namespace for objects Single inheritance Interfaces Allocated on the heap Shared among threads No free() garbage collector,Java and the JVM,11,What is a Virtual Machine?,A virtual machine (VM) is an abstract computer architecture Software on top of a
7、real hardware Can run the same application on different machines where the VM is available,Java and the JVM,12,The Java Virtual Machine,An abstract computing machine that executes bytecode programs An instruction set and the meaning of those instructions the bytecodes A binary format the class file
8、format An algorithm to verify the class file,Java and the JVM,13,JVM cont.,Runtime environment for Java Implementation NOT defined Runs Java .class files Has to conform to Suns specification,Java and the JVM,14,Implementations of the JVM,Interpreter Simple, compact Slow Just-in-time compilation Stat
9、e-of-the-art for desktop/server Too resource consuming in embedded systems Batch compilation Hardware implementation Our topic!,Java and the JVM,15,JVM Data Types,No boolean, char, byte, and short types Stack contains only 32-bit and 64-bit data Conversion instructions,Java and the JVM,16,Memory Are
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
2000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- JAVAANDTHEJVMPPT
