- 浏览: 169144 次
- 性别:
- 来自: 南京
-
文章分类
- 全部博客 (327)
- JAVA (130)
- 工作笔记 (49)
- SQLSERVER (5)
- ORACLE (28)
- nginx (1)
- Unix C (16)
- 系统 (19)
- 网络技术 (17)
- WEB前端 (22)
- Eclipse (2)
- Tomcat (1)
- spring (7)
- MYSQL (12)
- Maven (6)
- JETTY (2)
- 设计 (2)
- 开源项目 (7)
- asterisk (0)
- C++ (2)
- WINDOWS (2)
- SCALA (0)
- 协议 (1)
- Netty (1)
- SHELL (1)
- mybaits (4)
- 并发 (2)
- 架构 (2)
- TCP/IP (8)
- 虚拟化 (3)
- 不要再说java慢 (0)
- mac (2)
- mysql乱码完美解决 (1)
最新评论
12.Execution:
The Java Virtual Machine starts execution by invoking the method main of some
specified class, passing it a single argument, which is an array of strings
1 Load the Class.
The loading process is implemented by the class ClassLoader and its subclasses.
Different subclasses of ClassLoader may implement different loading policies. In
particular, a class loader may cache binary representations of classes and interfaces,
prefetch them based on expected usage, or load a group of related classes together.
If an error occurs during class loading, then an instance of one of the following
subclasses of class LinkageError will be thrown at any point in the program that
(directly or indirectly) uses the type:
• ClassCircularityError: A class or interface could not be loaded because it
would be its own superclass or superinterface (§8.1.4, §9.1.3, §13.4.4).
• ClassFormatError: The binary data that purports to specify a requested
compiled class or interface is malformed.
• NoClassDefFoundError: No definition for a requested class or interface could
be found by the relevant class loader.
12.3 Linking of Classes and Interfaces EXECUTION
320
Because loading involves the allocation of new data structures, it may fail with an
OutOfMemoryError.
2.Link Test: Verify, Prepare, (Optionally) Resolve
Verification checks that the loaded representation of Test is well-formed, with a
proper symbol table.
Preparation involves allocation of static storage and any data structures that are
used internally by the implementation of the Java Virtual Machine, such as method
tables.http://en.wikipedia.org/wiki/Symbol_table
Preparation involves creating the static fields (class variables and constants) for a class or interface and initializing such fields to the default values
does not require the execution of any source code; explicit initializers for static fields are executed as part of initialization (§12.4), not preparation.
Resolution is the process of checking symbolic references with other
classes and interfaces, by loading the other classes and interfaces that are mentioned
and checking that the references are correct.
errors in Resolution step: IncompatibleClassChangeError,IllegalAccessError,InstantiationError,NoSuchFieldError,NoSuchMethodError, UnsatisfiedLinkError.
3. Initialization of Classes and Interfaces
Initialization consists of execution of any class variable initializers and static
initializers of the class
4.Creation of New Class Instances
The Java Virtual Machine starts execution by invoking the method main of some
specified class, passing it a single argument, which is an array of strings
1 Load the Class.
The loading process is implemented by the class ClassLoader and its subclasses.
Different subclasses of ClassLoader may implement different loading policies. In
particular, a class loader may cache binary representations of classes and interfaces,
prefetch them based on expected usage, or load a group of related classes together.
If an error occurs during class loading, then an instance of one of the following
subclasses of class LinkageError will be thrown at any point in the program that
(directly or indirectly) uses the type:
• ClassCircularityError: A class or interface could not be loaded because it
would be its own superclass or superinterface (§8.1.4, §9.1.3, §13.4.4).
• ClassFormatError: The binary data that purports to specify a requested
compiled class or interface is malformed.
• NoClassDefFoundError: No definition for a requested class or interface could
be found by the relevant class loader.
12.3 Linking of Classes and Interfaces EXECUTION
320
Because loading involves the allocation of new data structures, it may fail with an
OutOfMemoryError.
2.Link Test: Verify, Prepare, (Optionally) Resolve
Verification checks that the loaded representation of Test is well-formed, with a
proper symbol table.
Preparation involves allocation of static storage and any data structures that are
used internally by the implementation of the Java Virtual Machine, such as method
tables.http://en.wikipedia.org/wiki/Symbol_table
Preparation involves creating the static fields (class variables and constants) for a class or interface and initializing such fields to the default values
does not require the execution of any source code; explicit initializers for static fields are executed as part of initialization (§12.4), not preparation.
Resolution is the process of checking symbolic references with other
classes and interfaces, by loading the other classes and interfaces that are mentioned
and checking that the references are correct.
errors in Resolution step: IncompatibleClassChangeError,IllegalAccessError,InstantiationError,NoSuchFieldError,NoSuchMethodError, UnsatisfiedLinkError.
3. Initialization of Classes and Interfaces
Initialization consists of execution of any class variable initializers and static
initializers of the class
4.Creation of New Class Instances
发表评论
-
[转]如何用消息系统避免分布式事务
2015-09-11 16:17 415http://mp.weixin.qq.com/s?__biz ... -
QQ 新浪 淘宝联合登录(转)
2015-08-11 10:53 517http://takeme.iteye.com/blog/1 ... -
Linkedin开源实时分析框架Pinot
2015-06-20 10:39 492[url]http://engineering.linkedi ... -
自增主键
2015-06-17 16:56 481http://www.cnblogs.com/heyuquan ... -
Spring-Petclinic
2015-04-04 08:27 352petclinic http://xpenxpen.itey ... -
nginx 基本配置
2015-04-03 21:31 503http://www.cnblogs.com/lost-198 ... -
日志异步化
2015-03-25 22:44 410http://www.oschina.net/translat ... -
hiberbate 包升级和oracle版本
2015-03-16 15:00 485hibernate 版本和oracle 版本的问题。 228 ... -
Maven配置本地库加载ojdbc14-10.2.0.4.0.jar文件
2015-03-16 09:46 521http://blog.sina.com.cn/s/blog_ ... -
hibernate自增主键
2015-03-14 21:11 401http://xiaowei-qi-epro-com-cn.i ... -
kafka
2015-03-10 23:21 436http://www.infoq.com/cn/news/20 ... -
c3p0 参数
2015-03-09 18:15 563http://haoran-10.iteye.com/blog ... -
网友的学习路线值得借鉴
2015-03-04 10:08 376http://blog.csdn.net/liuxiaoyi2 ... -
使用JDBC获取各数据库的Meta信息——表以及对应的列
2015-01-03 13:21 458http://blog.csdn.net/renfufei/a ... -
hadoop 在centos 64位上的编译,非常重要
2014-12-09 21:15 397http://blog.csdn.net/picassolov ... -
hbase 在虚拟机中的安装(单节点) (转)
2014-12-02 16:39 417http://www.tuicool.com/articles ... -
Spring管理多数据源
2014-11-22 12:45 327http://blog.csdn.net/lovesqcc/a ... -
Java高并发编程——为IO密集型应用设计线程数与划分任务
2014-11-22 12:29 1470http://blog.csdn.net/xichenguan ... -
netty 和nio
2014-11-16 12:38 405http://blog.csdn.net/column/det ... -
spring mvc 的几个注解
2014-11-12 19:39 420http://csjava.blog.163.com/blog ...
相关推荐
《Java®语言规范》是Java开发者的权威指南,它详细定义了Java编程语言的各个方面,为Java SE 7版提供了一套完整的规范。这个chm(Compiled HTML Help)版本使得开发者能够更便捷地查阅和理解Java语言的核心概念、...
《Java®语言规范Java SE 12版》是Java编程语言的官方文档,详细阐述了Java SE平台版本12的编程语言的语法、结构和含义。本规范不仅为Java开发者提供了参考,也为实现Java虚拟机和编写其他语言的编译器提供了重要的...
《Java® Language Specification》是Java编程语言的标准文档之一,它为开发者提供了详细的规范指南,帮助理解和实现Java语言的各种特性。Java SE 9版本作为Java语言发展的一个重要里程碑,引入了许多新特性和改进,...
Java技术规范(TheJava®Language Specification)是Java编程语言的官方文档,它详细描述了Java语言的语法、语义、类型系统、结构等各个方面,确保Java程序的可移植性、安全性和一致性。Java SE 8版是该技术规范的第...
4. **《Java核心技术卷》(The Java® Language Specification)**:由Java的创造者编写,这本书是Java编程语言的官方技术指南。对于深入理解语言的语法和机制,没有比这更好的资源了。从基础语法到高级特性,它都能...
《Java® Language Specification JavaSE8 Edition》是一份全面描述Java语言规范的官方文档,针对Java SE 8版本进行了详细说明。在深入探讨Java 8的语法和词法基础的同时,文档还介绍了各种语法表示,以及它们在Java...
Java® Platform, Standard Edition & Java Development Kit Version 9 API Specification This document is divided into three sections: Java SE The Java Platform, Standard Edition (Java SE) APIs define...
这份文档是JSR-000901Java® Language Specification的第七版,即Java SE7版。 **版权信息** 文档最后更新于2013年2月28日,于2011年7月发布,拥有美国Oracle公司及其关联公司的版权。Oracle和Java都是Oracle公司...