Did you use inverse class loading in production?
您是否在生产中使用逆向类加载?
Reduce class loading during plug-in initialization.
减少插件初始化时加载的类的数量。
We use dynamic class loading to load user libraries.
我们使用动态类加载来加载用户的库。
Rarely executed paths are one common reason for a new class loading.
很少执行的路径是加载新类的一个常见原因。
This error is thrown during the initialization phase of class loading.
这个错误在类装入的初始化阶段抛出。
ClassNotFoundException is the most common type of class loading exception.
ClassNotFoundException是最常见的类装入异常类型。
For additional class loading information, you can use verbose class output.
要想得到额外的类装入信息,可以用详细类输出。
Due to some peculiarities of class loading, the requirement is even stronger.
由于类加载的一些独特特性,因此这个需求变得更加强烈。
One example is class loading that invalidates monomorphic call transformations.
一个例子是使单态调用转换失效的类装载。
Classes are often loaded through a combination of explicit and implicit class loading.
类的装入通常组合了显式和隐式类装入。
You can use dynamic class loading techniques to ensure the correct set of beans is loaded.
可以使用动态类加载技术确保加载正确的bean集合。
This exception is thrown during the verification stage of the linking phase of class loading.
这个异常是在类装入的链接阶段的校验过程中抛出。
Many developers find constraint violations to be a difficult type of class loading problem to resolve.
许多开发人员发现约束违反是一种很难解决的类装入问题。
If you want to avoid such problems, you need to understand the fundamental mechanics of class loading.
如果想避免这类问题,需要理解类装入的基本机制。
Peer class loading does not follow the traditional hierarchical delegation structure for class loaders.
对等类装入不遵循传统的类装入器层次委托结构。
A good example of this class loading structure is an OSGi framework, such as the one Eclipse is built on.
这种类装入结构的示例就是OSGi框架,例如eclipse构建于其上的框架。
It is part of the JarIndex implementation and used by class loaders to speed up the class loading process.
它是JarIndex实现的一部分,并由类装载器用于加速类装载过程。
This section describes the core concepts of class loading to provide a knowledge base for the rest of this series.
这一节描述类装入的核心概念,为系列剩下的部分提供知识基础。
This method will now work fine; however, it now follows the standard class loading delegation (cache, parent, disk).
这个方法现在工作得很好;但是,它现在遵循的是标准类装入委托(缓存、双亲、磁盘)。
We mentioned earlier that usually this is caused by incompatible Jar files or other library and class loading issues.
之前我们就提到,这通常是由不兼容的Jar文件或其他库以及类加载问题所引起的。
No matter what kind of class loader you're using, however, there are many problems that can occur in the class loading process.
但是,不论使用哪种类装入器,在类装入过程中都可能发生许多问题。
Dynamic class loading, which is a challenge for the dynamic JIT compiler, is an even more significant issue for AOT compilation.
动态类加载是动态jit编译器面临的一个挑战,也是AOT编译的一个更重要的问题。
This article, the second in a series of four, looks at the various class loading exceptions typically thrown when running applications.
本文是系列中四篇文章的第二篇,它考察了一般在运行应用程序时抛出的各种类装入异常。
In this series of articles, we'll provide an in-depth look at class loading problems and use comprehensive examples to illustrate them.
在这个系列的文章中,我们将深入研究类装入的问题,并用丰富的示例演示它们。
While deploying, class loading conflicts are resolved by using a different application class loader for each enterprise application module.
在部署阶段,类加载冲突通过对不同的企业应用程序模块使用不同的应用程序类加载器得以解决。
Therefore, a thorough understanding of each phase helps in the diagnosing of class loading problems. The phases are illustrated in Figure 2.
所以,对于每一阶段的深入理解有助于对类装入问题的诊断。
The first section of this introductory article describes the fundamentals of class loading; the second introduces some JVM debugging features.
这份介绍性的文章的第一节描述类装入的基础;第二节介绍一些JVM调试特性。
Implicit class loading occurs when a class is loaded as result of a reference, instantiation, or inheritance (not via an explicit method call).
隐式类装入发生在由于引用、实例化或继承导致装入类的时候(不是通过显式方法调用)。
Or you must enable remote class loading from the server so the client interceptor and its dependencies can be downloaded to the client at start-up time.
或者一定要启用从服务器载入的远程类,这样才能够在启动时将客户端截取程序及其依赖项下载到客户机上。
Aside from some libraries that are not yet implemented, the major difference is that class loading in static mode will not exactly match the JVM behavior.
除了尚未实现某些程序库以外,这两种方式的主要差别在于静态模式下的类装载并不完全符合JVM行为。
应用推荐