move SystemClassLoader and Runtime.dumpHeap to avian package

This commit is contained in:
Joel Dice 2009-05-25 21:36:29 -06:00
parent 9682d63b84
commit 31d9700c9b
4 changed files with 6 additions and 8 deletions

View File

@ -8,7 +8,7 @@
There is NO WARRANTY for this software. See license.txt for
details. */
package java.lang;
package avian;
import java.net.URL;
import java.net.MalformedURLException;

View File

@ -75,8 +75,6 @@ public class Runtime {
public native long totalMemory();
public static native void dumpHeap(String outputFile);
private static class MyProcess extends Process {
private long pid;
private final int in;

View File

@ -167,7 +167,7 @@ Avian_java_lang_ClassLoader_defineClass
}
extern "C" JNIEXPORT int64_t JNICALL
Avian_java_lang_SystemClassLoader_findLoadedClass
Avian_avian_SystemClassLoader_findLoadedClass
(Thread* t, object, uintptr_t* arguments)
{
object name = reinterpret_cast<object>(arguments[1]);
@ -176,7 +176,7 @@ Avian_java_lang_SystemClassLoader_findLoadedClass
}
extern "C" JNIEXPORT int64_t JNICALL
Avian_java_lang_SystemClassLoader_findClass
Avian_avian_SystemClassLoader_findClass
(Thread* t, object, uintptr_t* arguments)
{
object name = reinterpret_cast<object>(arguments[1]);
@ -185,7 +185,7 @@ Avian_java_lang_SystemClassLoader_findClass
}
extern "C" JNIEXPORT int64_t JNICALL
Avian_java_lang_SystemClassLoader_resourceExists
Avian_avian_SystemClassLoader_resourceExists
(Thread* t, object, uintptr_t* arguments)
{
object name = reinterpret_cast<object>(arguments[1]);
@ -639,7 +639,7 @@ Avian_java_lang_Runtime_gc
#ifdef AVIAN_HEAPDUMP
extern "C" JNIEXPORT void JNICALL
Avian_java_lang_Runtime_dumpHeap
Avian_avian_Machine_dumpHeap
(Thread* t, object, uintptr_t* arguments)
{
object outputFile = reinterpret_cast<object>(*arguments);

View File

@ -8,7 +8,7 @@
(type classLoader java/lang/ClassLoader)
(type systemClassLoader java/lang/SystemClassLoader)
(type systemClassLoader avian/SystemClassLoader)
(type accessibleObject java/lang/reflect/AccessibleObject)