Remove verbose logging.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2563 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: com_threerings_util_unsafe_Unsafe.c,v 1.1 2003/05/08 21:25:20 mdb Exp $
|
* $Id: com_threerings_util_unsafe_Unsafe.c,v 1.2 2003/05/09 18:40:07 mdb Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
@@ -31,14 +31,12 @@ static int select_sleep (int millisecs)
|
|||||||
JNIEXPORT void JNICALL
|
JNIEXPORT void JNICALL
|
||||||
Java_com_threerings_util_unsafe_Unsafe_enableGC (JNIEnv* env, jclass clazz)
|
Java_com_threerings_util_unsafe_Unsafe_enableGC (JNIEnv* env, jclass clazz)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "Reenabling GC.\n");
|
|
||||||
jvmpi->EnableGC();
|
jvmpi->EnableGC();
|
||||||
}
|
}
|
||||||
|
|
||||||
JNIEXPORT void JNICALL
|
JNIEXPORT void JNICALL
|
||||||
Java_com_threerings_util_unsafe_Unsafe_disableGC (JNIEnv* env, jclass clazz)
|
Java_com_threerings_util_unsafe_Unsafe_disableGC (JNIEnv* env, jclass clazz)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "Disabling GC.\n");
|
|
||||||
jvmpi->DisableGC();
|
jvmpi->DisableGC();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user