1 /*
2 * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
114 JVM_MonitorNotifyAll(JNIEnv *env, jobject obj);
115
116 JNIEXPORT jobject JNICALL
117 JVM_Clone(JNIEnv *env, jobject obj);
118
119 /*
120 * java.lang.String
121 */
122 JNIEXPORT jstring JNICALL
123 JVM_InternString(JNIEnv *env, jstring str);
124
125 /*
126 * java.lang.System
127 */
128 JNIEXPORT jlong JNICALL
129 JVM_CurrentTimeMillis(JNIEnv *env, jclass ignored);
130
131 JNIEXPORT jlong JNICALL
132 JVM_NanoTime(JNIEnv *env, jclass ignored);
133
134 JNIEXPORT void JNICALL
135 JVM_ArrayCopy(JNIEnv *env, jclass ignored, jobject src, jint src_pos,
136 jobject dst, jint dst_pos, jint length);
137
138 JNIEXPORT jobject JNICALL
139 JVM_InitProperties(JNIEnv *env, jobject p);
140
141 JNIEXPORT void JNICALL
142 JVM_Halt(jint code);
143
144 JNIEXPORT void JNICALL
145 JVM_GC(void);
146
147 /* Returns the number of real-time milliseconds that have elapsed since the
148 * least-recently-inspected heap object was last inspected by the garbage
149 * collector.
150 *
151 * For simple stop-the-world collectors this value is just the time
152 * since the most recent collection. For generational collectors it is the
153 * time since the oldest generation was most recently collected. Other
|
1 /*
2 * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
114 JVM_MonitorNotifyAll(JNIEnv *env, jobject obj);
115
116 JNIEXPORT jobject JNICALL
117 JVM_Clone(JNIEnv *env, jobject obj);
118
119 /*
120 * java.lang.String
121 */
122 JNIEXPORT jstring JNICALL
123 JVM_InternString(JNIEnv *env, jstring str);
124
125 /*
126 * java.lang.System
127 */
128 JNIEXPORT jlong JNICALL
129 JVM_CurrentTimeMillis(JNIEnv *env, jclass ignored);
130
131 JNIEXPORT jlong JNICALL
132 JVM_NanoTime(JNIEnv *env, jclass ignored);
133
134 JNIEXPORT jlong JNICALL
135 JVM_GetNanoTimeAdjustment(JNIEnv *env, jclass ignored, jlong offset_secs);
136
137 JNIEXPORT void JNICALL
138 JVM_ArrayCopy(JNIEnv *env, jclass ignored, jobject src, jint src_pos,
139 jobject dst, jint dst_pos, jint length);
140
141 JNIEXPORT jobject JNICALL
142 JVM_InitProperties(JNIEnv *env, jobject p);
143
144 JNIEXPORT void JNICALL
145 JVM_Halt(jint code);
146
147 JNIEXPORT void JNICALL
148 JVM_GC(void);
149
150 /* Returns the number of real-time milliseconds that have elapsed since the
151 * least-recently-inspected heap object was last inspected by the garbage
152 * collector.
153 *
154 * For simple stop-the-world collectors this value is just the time
155 * since the most recent collection. For generational collectors it is the
156 * time since the oldest generation was most recently collected. Other
|