115 * java.io.File
116 */
117 JNIEXPORT void JNICALL
118 JVM_OnExit(void (*func)(void));
119
120 /*
121 * java.nio.Bits
122 */
123 JNIEXPORT void JNICALL
124 JVM_CopySwapMemory(JNIEnv *env, jobject srcObj, jlong srcOffset,
125 jobject dstObj, jlong dstOffset, jlong size,
126 jlong elemSize);
127
128 /*
129 * java.lang.Runtime
130 */
131 JNIEXPORT void JNICALL
132 JVM_Exit(jint code);
133
134 JNIEXPORT void JNICALL
135 JVM_Halt(jint code);
136
137 JNIEXPORT void JNICALL
138 JVM_GC(void);
139
140 /* Returns the number of real-time milliseconds that have elapsed since the
141 * least-recently-inspected heap object was last inspected by the garbage
142 * collector.
143 *
144 * For simple stop-the-world collectors this value is just the time
145 * since the most recent collection. For generational collectors it is the
146 * time since the oldest generation was most recently collected. Other
147 * collectors are free to return a pessimistic estimate of the elapsed time, or
148 * simply the time since the last full collection was performed.
149 *
150 * Note that in the presence of reference objects, a given object that is no
151 * longer strongly reachable may have to be inspected multiple times before it
152 * can be reclaimed.
153 */
154 JNIEXPORT jlong JNICALL
|
115 * java.io.File
116 */
117 JNIEXPORT void JNICALL
118 JVM_OnExit(void (*func)(void));
119
120 /*
121 * java.nio.Bits
122 */
123 JNIEXPORT void JNICALL
124 JVM_CopySwapMemory(JNIEnv *env, jobject srcObj, jlong srcOffset,
125 jobject dstObj, jlong dstOffset, jlong size,
126 jlong elemSize);
127
128 /*
129 * java.lang.Runtime
130 */
131 JNIEXPORT void JNICALL
132 JVM_Exit(jint code);
133
134 JNIEXPORT void JNICALL
135 JVM_BeforeHalt();
136
137 JNIEXPORT void JNICALL
138 JVM_Halt(jint code);
139
140 JNIEXPORT void JNICALL
141 JVM_GC(void);
142
143 /* Returns the number of real-time milliseconds that have elapsed since the
144 * least-recently-inspected heap object was last inspected by the garbage
145 * collector.
146 *
147 * For simple stop-the-world collectors this value is just the time
148 * since the most recent collection. For generational collectors it is the
149 * time since the oldest generation was most recently collected. Other
150 * collectors are free to return a pessimistic estimate of the elapsed time, or
151 * simply the time since the last full collection was performed.
152 *
153 * Note that in the presence of reference objects, a given object that is no
154 * longer strongly reachable may have to be inspected multiple times before it
155 * can be reclaimed.
156 */
157 JNIEXPORT jlong JNICALL
|