1314 JNIEXPORT jint JNICALL
1315 JVM_RawMonitorEnter(void *mon);
1316
1317 JNIEXPORT void JNICALL
1318 JVM_RawMonitorExit(void *mon);
1319
1320 /*
1321 * java.lang.management support
1322 */
1323 JNIEXPORT void* JNICALL
1324 JVM_GetManagement(jint version);
1325
1326 /*
1327 * com.sun.tools.attach.VirtualMachine support
1328 *
1329 * Initialize the agent properties with the properties maintained in the VM.
1330 */
1331 JNIEXPORT jobject JNICALL
1332 JVM_InitAgentProperties(JNIEnv *env, jobject agent_props);
1333
1334 JNIEXPORT jstring JNICALL
1335 JVM_GetTemporaryDirectory(JNIEnv *env);
1336
1337 /* Generics reflection support.
1338 *
1339 * Returns information about the given class's EnclosingMethod
1340 * attribute, if present, or null if the class had no enclosing
1341 * method.
1342 *
1343 * If non-null, the returned array contains three elements. Element 0
1344 * is the java.lang.Class of which the enclosing method is a member,
1345 * and elements 1 and 2 are the java.lang.Strings for the enclosing
1346 * method's name and descriptor, respectively.
1347 */
1348 JNIEXPORT jobjectArray JNICALL
1349 JVM_GetEnclosingMethodInfo(JNIEnv* env, jclass ofClass);
1350
1351 /*
1352 * Java thread state support
1353 */
1354 enum {
1355 JAVA_THREAD_STATE_NEW = 0,
1356 JAVA_THREAD_STATE_RUNNABLE = 1,
|
1314 JNIEXPORT jint JNICALL
1315 JVM_RawMonitorEnter(void *mon);
1316
1317 JNIEXPORT void JNICALL
1318 JVM_RawMonitorExit(void *mon);
1319
1320 /*
1321 * java.lang.management support
1322 */
1323 JNIEXPORT void* JNICALL
1324 JVM_GetManagement(jint version);
1325
1326 /*
1327 * com.sun.tools.attach.VirtualMachine support
1328 *
1329 * Initialize the agent properties with the properties maintained in the VM.
1330 */
1331 JNIEXPORT jobject JNICALL
1332 JVM_InitAgentProperties(JNIEnv *env, jobject agent_props);
1333
1334 /* Generics reflection support.
1335 *
1336 * Returns information about the given class's EnclosingMethod
1337 * attribute, if present, or null if the class had no enclosing
1338 * method.
1339 *
1340 * If non-null, the returned array contains three elements. Element 0
1341 * is the java.lang.Class of which the enclosing method is a member,
1342 * and elements 1 and 2 are the java.lang.Strings for the enclosing
1343 * method's name and descriptor, respectively.
1344 */
1345 JNIEXPORT jobjectArray JNICALL
1346 JVM_GetEnclosingMethodInfo(JNIEnv* env, jclass ofClass);
1347
1348 /*
1349 * Java thread state support
1350 */
1351 enum {
1352 JAVA_THREAD_STATE_NEW = 0,
1353 JAVA_THREAD_STATE_RUNNABLE = 1,
|