src/share/vm/prims/jvm.h

changeset 7322
4cb90023bf2b
parent 6839
1e657b902392
child 7535
7ae4e26cb1e0
child 9562
dee6a1ce4a0c
     1.1 --- a/src/share/vm/prims/jvm.h	Tue Oct 28 09:17:36 2014 +0100
     1.2 +++ b/src/share/vm/prims/jvm.h	Mon Oct 13 16:09:57 2014 -0700
     1.3 @@ -1548,6 +1548,31 @@
     1.4  JNIEXPORT jobjectArray JNICALL
     1.5  JVM_GetThreadStateNames(JNIEnv* env, jint javaThreadState, jintArray values);
     1.6  
     1.7 +/*
     1.8 + * Returns true if the JVM's lookup cache indicates that this class is
     1.9 + * known to NOT exist for the given loader.
    1.10 + */
    1.11 +JNIEXPORT jboolean JNICALL
    1.12 +JVM_KnownToNotExist(JNIEnv *env, jobject loader, const char *classname);
    1.13 +
    1.14 +/*
    1.15 + * Returns an array of all URLs that are stored in the JVM's lookup cache
    1.16 + * for the given loader. NULL if the lookup cache is unavailable.
    1.17 + */
    1.18 +JNIEXPORT jobjectArray JNICALL
    1.19 +JVM_GetResourceLookupCacheURLs(JNIEnv *env, jobject loader);
    1.20 +
    1.21 +/*
    1.22 + * Returns an array of all URLs that *may* contain the resource_name for the
    1.23 + * given loader. This function returns an integer array, each element
    1.24 + * of which can be used to index into the array returned by
    1.25 + * JVM_GetResourceLookupCacheURLs of the same loader to determine the
    1.26 + * URLs.
    1.27 + */
    1.28 +JNIEXPORT jintArray JNICALL
    1.29 +JVM_GetResourceLookupCache(JNIEnv *env, jobject loader, const char *resource_name);
    1.30 +
    1.31 +
    1.32  /* =========================================================================
    1.33   * The following defines a private JVM interface that the JDK can query
    1.34   * for the JVM version and capabilities.  sun.misc.Version defines

mercurial