| java.lang.Object org.netbeans.lib.profiler.classfile.ClassFileCache
ClassFileCache | public class ClassFileCache (Code) | | Fixed-size cache of binary classes (.class files). Used to avoid flooding memory with class files when performing intensive
method scanning, that may touch thousands of classes. Currently uses LRU eviction policy.
A separate, currently no-eviction cache, is maintained for classes supplied by the VM.
author: Misha Dmitirev |
ClassFileCache | ClassFileCache()(Code) | | |
addVMSuppliedClassFile | void addVMSuppliedClassFile(String name, int classLoaderId, byte[] buf)(Code) | | |
hasVMSuppliedClassFile | int hasVMSuppliedClassFile(String name, int classLoaderId)(Code) | | Returns the actual class loader id for the given class/loader pair, or -1 if class is not loaded.
The real loader may be the same as classLoaderId or its parent loader.
|
resetDefaultCache | static void resetDefaultCache()(Code) | | |
|
|