comparison src/share/vm/prims/jvm.h @ 20804:7848fc12602b

Merge with jdk8u40-b25
author Gilles Duboscq <gilles.m.duboscq@oracle.com>
date Tue, 07 Apr 2015 14:58:49 +0200
parents eaf39a954227 4cb90023bf2b
children
comparison
equal deleted inserted replaced
20184:84105dcdb05b 20804:7848fc12602b
1546 * and javaThreadState. 1546 * and javaThreadState.
1547 */ 1547 */
1548 JNIEXPORT jobjectArray JNICALL 1548 JNIEXPORT jobjectArray JNICALL
1549 JVM_GetThreadStateNames(JNIEnv* env, jint javaThreadState, jintArray values); 1549 JVM_GetThreadStateNames(JNIEnv* env, jint javaThreadState, jintArray values);
1550 1550
1551 /*
1552 * Returns true if the JVM's lookup cache indicates that this class is
1553 * known to NOT exist for the given loader.
1554 */
1555 JNIEXPORT jboolean JNICALL
1556 JVM_KnownToNotExist(JNIEnv *env, jobject loader, const char *classname);
1557
1558 /*
1559 * Returns an array of all URLs that are stored in the JVM's lookup cache
1560 * for the given loader. NULL if the lookup cache is unavailable.
1561 */
1562 JNIEXPORT jobjectArray JNICALL
1563 JVM_GetResourceLookupCacheURLs(JNIEnv *env, jobject loader);
1564
1565 /*
1566 * Returns an array of all URLs that *may* contain the resource_name for the
1567 * given loader. This function returns an integer array, each element
1568 * of which can be used to index into the array returned by
1569 * JVM_GetResourceLookupCacheURLs of the same loader to determine the
1570 * URLs.
1571 */
1572 JNIEXPORT jintArray JNICALL
1573 JVM_GetResourceLookupCache(JNIEnv *env, jobject loader, const char *resource_name);
1574
1575
1551 /* ========================================================================= 1576 /* =========================================================================
1552 * The following defines a private JVM interface that the JDK can query 1577 * The following defines a private JVM interface that the JDK can query
1553 * for the JVM version and capabilities. sun.misc.Version defines 1578 * for the JVM version and capabilities. sun.misc.Version defines
1554 * the methods for getting the VM version and its capabilities. 1579 * the methods for getting the VM version and its capabilities.
1555 * 1580 *