Class loader namespace problems.
类装入器命名空间问题。
Class loader constraint problems.
类装入器约束问题。
Bootstrap isn't the only class loader.
引导程序不是唯一的类装入器。
NextGen example: Modified class loader.
NextGen示例:修改的类装入器。
Avoiding class loader constraint violations.
避免类装入器约束违反。
Resolving class loader constraint violations
解决类装入器约束违反
Lists of classes loaded by each class loader.
每个类装入器装入的类的列表。
Next is the class loader cache initialization.
下一步是类装载器缓存初始化。
The garbage collector interacts closely with the class loader.
垃圾收集器与类装入器的交互很密切。
Notice that there is no output for the bootstrap class loader.
请注意,引导类装入器没有输出。
The extension class loader (sun/misc/Launcher$ExtClass loader)
扩展类装入器(sun/misc/Launcher$ExtClassLoader)
For example, suppose you have a class loader called MyClassLoader.
例如,假设您有一个名为MyClassLoader的类加载器。
Class loader constraints ensure the consistency of the class space in the JVM.
类装入器约束保证了类空间在JVM中的一致性。
The proxy will create one instance of a class loader for each XML schema version.
代理将为每个XML模式版本创建一个类实例。
Graph showing JIT compilations, class loader information, and garbage collection.
展示JIT编译、类加载器信息和垃圾收集的图形。
By default, this class loader is the parent of any class loader created by the user.
默认情况下,这个类装入器是用户创建的任何类装入器的父类。
It also indicates which class loader loads a given class and where it loads it from.
它还可以指出指定类是由哪个类装入器装入的、从哪里装入的。
The ClassLoader loaded classes section lists the classes loaded by each class loader.
类装入器装入的类部分列出了每个类装入器装入的类。
The parent of this class loader will be the class loader of the current thread context.
类加载器的父类加载器将是当前线程上下文的类加载器。
When the class loader is dereferenced, the classes that it loaded are not garbage collectable.
当取消对类装入器的引用时,它装入的类就变成无法进行垃圾收集的了。
The method now delegates to its parent class loader before attempting to find the class itself.
方法现在在试图自己找到类之前,先委托给自己的双亲类装入器。
This implementation assumes that all classes required are on the classpath of this class loader.
这个实现假设所有需要的类都在这个类装入器的类路径中。
Because all four conditions hold, this situation results in a class loader constraint violation.
因为四个条件全部成立,所以这种情况会导致类装入器约束违反。
But how can that work if the class loader looks for existing class files for each class it loads?
但是,如果类装入器为它所装入的每个类查找现有类文件,那么它会如何工作呢?
A class loader namespace is a combination of a class loader and all the classes that it has loaded.
类装入器的命名空间是类装入器和它装入的所有类的组合。
It also shows class loader information — again, this is simple because the application is so simple.
它还展示了类加载器信息——再说一遍,这很简单,因为应用程序太简单了。
The class loader plays an important role in linking a native call to its appropriate native definition.
在把本机调用链接到对应的本机定义时,类装入器扮演着重要角色。
The class loader delegation model is the graph of class loaders that pass loading requests to each other.
类装入器委托模型是把装入请求相互传给对方的类装入器图。
Both threads will wait indefinitely for the lock on the other class loader, and so they become deadlocked.
两个线程都会无限期地等候另一个类装入器上的锁,所以它们就变成了死锁的。
Notice how I access the class from a custom class loader, which loads the compiled bytecodes upon request.
注意我是如何使用自定义的类加载器访问这个类的,该加载器按照请求加载编译后的字节码。
应用推荐