harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gshiman...@apache.org
Subject svn commit: r504114 [1/2] - /harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/
Date Tue, 06 Feb 2007 12:48:11 GMT
Author: gshimansky
Date: Tue Feb  6 04:48:10 2007
New Revision: 504114

URL: http://svn.apache.org/viewvc?view=rev&rev=504114
Log:
Applied HARMONY-1821 [drlvm] java.lang.management support

Classlib tests passed on Ubuntu6 x86, Windows 2003 server x86 and SuSE9 x86_64


Added:
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_ClassLoadingMXBeanImpl.cpp   (with props)
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_ClassLoadingMXBeanImpl.h   (with props)
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_CompilationMXBeanImpl.cpp   (with props)
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_CompilationMXBeanImpl.h   (with props)
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_GarbageCollectorMXBeanImpl.cpp   (with props)
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_GarbageCollectorMXBeanImpl.h   (with props)
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryMXBeanImpl.cpp   (with props)
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryMXBeanImpl.h   (with props)
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryManagerMXBeanImpl.cpp   (with props)
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryManagerMXBeanImpl.h   (with props)
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryNotificationThread.cpp   (with props)
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryNotificationThread.h   (with props)
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryNotificationThreadShutdown.cpp   (with props)
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryNotificationThreadShutdown.h   (with props)
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryPoolMXBeanImpl.cpp   (with props)
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryPoolMXBeanImpl.h   (with props)
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_RuntimeMXBeanImpl.cpp   (with props)
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_RuntimeMXBeanImpl.h   (with props)
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_ThreadMXBeanImpl.cpp   (with props)
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_ThreadMXBeanImpl.h   (with props)

Added: harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_ClassLoadingMXBeanImpl.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_ClassLoadingMXBeanImpl.cpp?view=auto&rev=504114
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_ClassLoadingMXBeanImpl.cpp (added)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_ClassLoadingMXBeanImpl.cpp Tue Feb  6 04:48:10 2007
@@ -0,0 +1,99 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+/**
+ * @author Andrey Yakushev
+ * @version $Revision$
+ */
+
+/**
+ * @file org_apache_harmony_lang_management_ClassLoadingMXBeanImpl.cpp
+ *
+ * This file is a part of kernel class natives VM core component.
+ * It contains implementation for native methods of
+ * org.apache.harmony.lang.management.ClassLoadingMXBeanImpl class.
+ */
+
+#include <cxxlog.h>
+#include "org_apache_harmony_lang_management_ClassLoadingMXBeanImpl.h"
+/*
+ * Class:     org_apache_harmony_lang_management_ClassLoadingMXBeanImpl
+ * Method:    getLoadedClassCountImpl
+ * Signature: ()I
+ */
+JNIEXPORT jint JNICALL Java_org_apache_harmony_lang_management_ClassLoadingMXBeanImpl_getLoadedClassCountImpl
+(JNIEnv *, jobject)
+{
+    // TODO implement this method stub correctly
+    TRACE2("management","getLoadedClassCountImpl stub invocation");
+    return 1<<3;
+};
+
+/*
+ * Class:     org_apache_harmony_lang_management_ClassLoadingMXBeanImpl
+ * Method:    getTotalLoadedClassCountImpl
+ * Signature: ()J
+ */
+JNIEXPORT jlong JNICALL Java_org_apache_harmony_lang_management_ClassLoadingMXBeanImpl_getTotalLoadedClassCountImpl
+(JNIEnv *, jobject)
+{
+    // TODO implement this method stub correctly
+    TRACE2("management","getTotalLoadedClassCountImpl stub invocation");
+    return 1<<4;
+};
+
+/*
+ * Class:     org_apache_harmony_lang_management_ClassLoadingMXBeanImpl
+ * Method:    getUnloadedClassCountImpl
+ * Signature: ()J
+ */
+JNIEXPORT jlong JNICALL Java_org_apache_harmony_lang_management_ClassLoadingMXBeanImpl_getUnloadedClassCountImpl
+(JNIEnv *, jobject)
+{
+    // TODO implement this method stub correctly
+    TRACE2("management","getUnloadedClassCountImpl stub invocation");
+    return 1<<2;
+};
+
+jboolean ClassLoadingVerbose = JNI_FALSE;
+
+
+/*
+ * Class:     org_apache_harmony_lang_management_ClassLoadingMXBeanImpl
+ * Method:    isVerboseImpl
+ * Signature: ()Z
+ */
+JNIEXPORT jboolean JNICALL Java_org_apache_harmony_lang_management_ClassLoadingMXBeanImpl_isVerboseImpl
+(JNIEnv *, jobject)
+{
+    // TODO implement this method stub correctly
+    TRACE2("management","ClassLoadingMXBeanImpl_isVerboseImpl stub invocation");
+    return ClassLoadingVerbose;
+};
+
+/*
+ * Class:     org_apache_harmony_lang_management_ClassLoadingMXBeanImpl
+ * Method:    setVerboseImpl
+ * Signature: (Z)V
+ */
+JNIEXPORT void JNICALL Java_org_apache_harmony_lang_management_ClassLoadingMXBeanImpl_setVerboseImpl
+(JNIEnv *, jobject, jboolean new_value)
+{
+    // TODO implement this method stub correctly
+    TRACE2("management","ClassLoadingMXBeanImpl_setVerboseImpl stub invocation");
+    ClassLoadingVerbose = new_value;
+};
+

Propchange: harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_ClassLoadingMXBeanImpl.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_ClassLoadingMXBeanImpl.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_ClassLoadingMXBeanImpl.h?view=auto&rev=504114
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_ClassLoadingMXBeanImpl.h (added)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_ClassLoadingMXBeanImpl.h Tue Feb  6 04:48:10 2007
@@ -0,0 +1,88 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+/*
+ * THE FILE HAS BEEN AUTOGENERATED BY THE IJH TOOL.
+ * Please be aware that all changes made to this file manually
+ * will be overwritten by the tool if it runs again.
+ */
+
+#include <jni.h>
+
+
+/* Header for class org.apache.harmony.lang.management.ClassLoadingMXBeanImpl */
+
+#ifndef _ORG_APACHE_HARMONY_LANG_MANAGEMENT_CLASSLOADINGMXBEANIMPL_H
+#define _ORG_APACHE_HARMONY_LANG_MANAGEMENT_CLASSLOADINGMXBEANIMPL_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+/* Static final fields */
+
+#undef org_apache_harmony_lang_management_ClassLoadingMXBeanImpl_TM_ERROR_NONE
+#define org_apache_harmony_lang_management_ClassLoadingMXBeanImpl_TM_ERROR_NONE 0L
+
+#undef org_apache_harmony_lang_management_ClassLoadingMXBeanImpl_TM_ERROR_INTERRUPT
+#define org_apache_harmony_lang_management_ClassLoadingMXBeanImpl_TM_ERROR_INTERRUPT 52L
+
+#undef org_apache_harmony_lang_management_ClassLoadingMXBeanImpl_TM_ERROR_ILLEGAL_STATE
+#define org_apache_harmony_lang_management_ClassLoadingMXBeanImpl_TM_ERROR_ILLEGAL_STATE 118L
+
+
+/* Native methods */
+
+/*
+ * Method: org.apache.harmony.lang.management.ClassLoadingMXBeanImpl.getLoadedClassCountImpl()I
+ */
+JNIEXPORT jint JNICALL
+Java_org_apache_harmony_lang_management_ClassLoadingMXBeanImpl_getLoadedClassCountImpl(JNIEnv *, jobject);
+
+/*
+ * Method: org.apache.harmony.lang.management.ClassLoadingMXBeanImpl.getTotalLoadedClassCountImpl()J
+ */
+JNIEXPORT jlong JNICALL
+Java_org_apache_harmony_lang_management_ClassLoadingMXBeanImpl_getTotalLoadedClassCountImpl(JNIEnv *, jobject);
+
+/*
+ * Method: org.apache.harmony.lang.management.ClassLoadingMXBeanImpl.getUnloadedClassCountImpl()J
+ */
+JNIEXPORT jlong JNICALL
+Java_org_apache_harmony_lang_management_ClassLoadingMXBeanImpl_getUnloadedClassCountImpl(JNIEnv *, jobject);
+
+/*
+ * Method: org.apache.harmony.lang.management.ClassLoadingMXBeanImpl.isVerboseImpl()Z
+ */
+JNIEXPORT jboolean JNICALL
+Java_org_apache_harmony_lang_management_ClassLoadingMXBeanImpl_isVerboseImpl(JNIEnv *, jobject);
+
+/*
+ * Method: org.apache.harmony.lang.management.ClassLoadingMXBeanImpl.setVerboseImpl(Z)V
+ */
+JNIEXPORT void JNICALL
+Java_org_apache_harmony_lang_management_ClassLoadingMXBeanImpl_setVerboseImpl(JNIEnv *, jobject,
+    jboolean);
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _ORG_APACHE_HARMONY_LANG_MANAGEMENT_CLASSLOADINGMXBEANIMPL_H */
+

Propchange: harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_ClassLoadingMXBeanImpl.h
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_CompilationMXBeanImpl.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_CompilationMXBeanImpl.cpp?view=auto&rev=504114
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_CompilationMXBeanImpl.cpp (added)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_CompilationMXBeanImpl.cpp Tue Feb  6 04:48:10 2007
@@ -0,0 +1,70 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+/**
+ * @author Andrey Yakushev
+ * @version $Revision$
+ */
+
+/**
+ * @file org_apache_harmony_lang_management_CompilationMXBeanImpl.cpp
+ *
+ * This file is a part of kernel class natives VM core component.
+ * It contains implementation for native methods of
+ * org.apache.harmony.lang.management.CompilationMXBeanImpl class.
+ */
+
+#include <cxxlog.h>
+#include "org_apache_harmony_lang_management_CompilationMXBeanImpl.h"
+/*
+ * Class:     org_apache_harmony_lang_management_CompilationMXBeanImpl
+ * Method:    isJITEnabled
+ * Signature: ()Z
+ */
+JNIEXPORT jboolean JNICALL Java_org_apache_harmony_lang_management_CompilationMXBeanImpl_isJITEnabled
+(JNIEnv *, jclass)
+{
+    // TODO implement this method stub correctly
+    TRACE2("management","isJITEnabled stub invocation");
+    return JNI_TRUE;
+};
+
+/*
+ * Class:     org_apache_harmony_lang_management_CompilationMXBeanImpl
+ * Method:    getTotalCompilationTimeImpl
+ * Signature: ()J
+ */
+JNIEXPORT jlong JNICALL Java_org_apache_harmony_lang_management_CompilationMXBeanImpl_getTotalCompilationTimeImpl
+(JNIEnv *, jobject)
+{
+    // TODO implement this method stub correctly
+    TRACE2("management","getTotalCompilationTimeImpl stub invocation");
+    return 1L<<5;
+};
+
+/*
+ * Class:     org_apache_harmony_lang_management_CompilationMXBeanImpl
+ * Method:    isCompilationTimeMonitoringSupportedImpl
+ * Signature: ()Z
+ */
+JNIEXPORT jboolean JNICALL Java_org_apache_harmony_lang_management_CompilationMXBeanImpl_isCompilationTimeMonitoringSupportedImpl
+(JNIEnv *, jobject)
+{
+    // TODO implement this method stub correctly
+    TRACE2("management","isCompilationTimeMonitoringSupportedImpl stub invocation");
+    return JNI_TRUE;
+};
+

Propchange: harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_CompilationMXBeanImpl.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_CompilationMXBeanImpl.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_CompilationMXBeanImpl.h?view=auto&rev=504114
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_CompilationMXBeanImpl.h (added)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_CompilationMXBeanImpl.h Tue Feb  6 04:48:10 2007
@@ -0,0 +1,74 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+/*
+ * THE FILE HAS BEEN AUTOGENERATED BY THE IJH TOOL.
+ * Please be aware that all changes made to this file manually
+ * will be overwritten by the tool if it runs again.
+ */
+
+#include <jni.h>
+
+
+/* Header for class org.apache.harmony.lang.management.CompilationMXBeanImpl */
+
+#ifndef _ORG_APACHE_HARMONY_LANG_MANAGEMENT_COMPILATIONMXBEANIMPL_H
+#define _ORG_APACHE_HARMONY_LANG_MANAGEMENT_COMPILATIONMXBEANIMPL_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+/* Static final fields */
+
+#undef org_apache_harmony_lang_management_CompilationMXBeanImpl_TM_ERROR_NONE
+#define org_apache_harmony_lang_management_CompilationMXBeanImpl_TM_ERROR_NONE 0L
+
+#undef org_apache_harmony_lang_management_CompilationMXBeanImpl_TM_ERROR_INTERRUPT
+#define org_apache_harmony_lang_management_CompilationMXBeanImpl_TM_ERROR_INTERRUPT 52L
+
+#undef org_apache_harmony_lang_management_CompilationMXBeanImpl_TM_ERROR_ILLEGAL_STATE
+#define org_apache_harmony_lang_management_CompilationMXBeanImpl_TM_ERROR_ILLEGAL_STATE 118L
+
+
+/* Native methods */
+
+/*
+ * Method: org.apache.harmony.lang.management.CompilationMXBeanImpl.isJITEnabled()Z
+ */
+JNIEXPORT jboolean JNICALL
+Java_org_apache_harmony_lang_management_CompilationMXBeanImpl_isJITEnabled(JNIEnv *, jclass);
+
+/*
+ * Method: org.apache.harmony.lang.management.CompilationMXBeanImpl.getTotalCompilationTimeImpl()J
+ */
+JNIEXPORT jlong JNICALL
+Java_org_apache_harmony_lang_management_CompilationMXBeanImpl_getTotalCompilationTimeImpl(JNIEnv *, jobject);
+
+/*
+ * Method: org.apache.harmony.lang.management.CompilationMXBeanImpl.isCompilationTimeMonitoringSupportedImpl()Z
+ */
+JNIEXPORT jboolean JNICALL
+Java_org_apache_harmony_lang_management_CompilationMXBeanImpl_isCompilationTimeMonitoringSupportedImpl(JNIEnv *, jobject);
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _ORG_APACHE_HARMONY_LANG_MANAGEMENT_COMPILATIONMXBEANIMPL_H */
+

Propchange: harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_CompilationMXBeanImpl.h
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_GarbageCollectorMXBeanImpl.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_GarbageCollectorMXBeanImpl.cpp?view=auto&rev=504114
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_GarbageCollectorMXBeanImpl.cpp (added)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_GarbageCollectorMXBeanImpl.cpp Tue Feb  6 04:48:10 2007
@@ -0,0 +1,55 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+/**
+ * @author Andrey Yakushev
+ * @version $Revision$
+ */
+
+/**
+ * @file org_apache_harmony_lang_management_GarbageCollectorMXBeanImpl.cpp
+ *
+ * This file is a part of kernel class natives VM core component.
+ * It contains implementation for native methods of
+ * org.apache.harmony.lang.management.GarbageCollectorMXBeanImpl class.
+ */
+
+#include <cxxlog.h>
+#include "org_apache_harmony_lang_management_GarbageCollectorMXBeanImpl.h"
+
+/*
+ * Method: org.apache.harmony.lang.management.GarbageCollectorMXBeanImpl.getCollectionCountImpl()J
+ */
+JNIEXPORT jlong JNICALL
+Java_org_apache_harmony_lang_management_GarbageCollectorMXBeanImpl_getCollectionCountImpl(JNIEnv *, jobject)
+{
+    // TODO implement this method stub correctly
+    TRACE2("management","getCollectionCountImpl stub invocation");
+    return 7L;
+};
+
+/*
+ * Method: org.apache.harmony.lang.management.GarbageCollectorMXBeanImpl.getCollectionTimeImpl()J
+ */
+JNIEXPORT jlong JNICALL
+Java_org_apache_harmony_lang_management_GarbageCollectorMXBeanImpl_getCollectionTimeImpl(JNIEnv *, jobject)
+{
+    // TODO implement this method stub correctly
+    TRACE2("management","getCollectionTimeImpl stub invocation");
+    return 2L<<17;
+};
+
+

Propchange: harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_GarbageCollectorMXBeanImpl.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_GarbageCollectorMXBeanImpl.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_GarbageCollectorMXBeanImpl.h?view=auto&rev=504114
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_GarbageCollectorMXBeanImpl.h (added)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_GarbageCollectorMXBeanImpl.h Tue Feb  6 04:48:10 2007
@@ -0,0 +1,68 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+/*
+ * THE FILE HAS BEEN AUTOGENERATED BY THE IJH TOOL.
+ * Please be aware that all changes made to this file manually
+ * will be overwritten by the tool if it runs again.
+ */
+
+#include <jni.h>
+
+
+/* Header for class org.apache.harmony.lang.management.GarbageCollectorMXBeanImpl */
+
+#ifndef _ORG_APACHE_HARMONY_LANG_MANAGEMENT_GARBAGECOLLECTORMXBEANIMPL_H
+#define _ORG_APACHE_HARMONY_LANG_MANAGEMENT_GARBAGECOLLECTORMXBEANIMPL_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+/* Static final fields */
+
+#undef org_apache_harmony_lang_management_GarbageCollectorMXBeanImpl_TM_ERROR_NONE
+#define org_apache_harmony_lang_management_GarbageCollectorMXBeanImpl_TM_ERROR_NONE 0L
+
+#undef org_apache_harmony_lang_management_GarbageCollectorMXBeanImpl_TM_ERROR_INTERRUPT
+#define org_apache_harmony_lang_management_GarbageCollectorMXBeanImpl_TM_ERROR_INTERRUPT 52L
+
+#undef org_apache_harmony_lang_management_GarbageCollectorMXBeanImpl_TM_ERROR_ILLEGAL_STATE
+#define org_apache_harmony_lang_management_GarbageCollectorMXBeanImpl_TM_ERROR_ILLEGAL_STATE 118L
+
+
+/* Native methods */
+
+/*
+ * Method: org.apache.harmony.lang.management.GarbageCollectorMXBeanImpl.getCollectionCountImpl()J
+ */
+JNIEXPORT jlong JNICALL
+Java_org_apache_harmony_lang_management_GarbageCollectorMXBeanImpl_getCollectionCountImpl(JNIEnv *, jobject);
+
+/*
+ * Method: org.apache.harmony.lang.management.GarbageCollectorMXBeanImpl.getCollectionTimeImpl()J
+ */
+JNIEXPORT jlong JNICALL
+Java_org_apache_harmony_lang_management_GarbageCollectorMXBeanImpl_getCollectionTimeImpl(JNIEnv *, jobject);
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _ORG_APACHE_HARMONY_LANG_MANAGEMENT_GARBAGECOLLECTORMXBEANIMPL_H */
+

Propchange: harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_GarbageCollectorMXBeanImpl.h
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryMXBeanImpl.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryMXBeanImpl.cpp?view=auto&rev=504114
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryMXBeanImpl.cpp (added)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryMXBeanImpl.cpp Tue Feb  6 04:48:10 2007
@@ -0,0 +1,166 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+/**
+ * @author Andrey Yakushev
+ * @version $Revision$
+ */
+
+/**
+ * @file org_apache_harmony_lang_management_MemoryMXBeanImpl.cpp
+ *
+ * This file is a part of kernel class natives VM core component.
+ * It contains implementation for native methods of
+ * org.apache.harmony.lang.management.MemoryMXBeanImpl class.
+ */
+
+#include "org_apache_harmony_lang_management_MemoryMXBeanImpl.h"
+#include <cxxlog.h>
+#include "environment.h"
+/* Header for class org_apache_harmony_lang_management_MemoryMXBeanImpl */
+
+/*
+ * Class:     org_apache_harmony_lang_management_MemoryMXBeanImpl
+ * Method:    createMemoryManagers
+ * Signature: ()V
+ * IMPORTANT : VM is the sole caller of this method.
+ */
+JNIEXPORT void JNICALL Java_org_apache_harmony_lang_management_MemoryMXBeanImpl_createMemoryManagers
+(JNIEnv * jenv_ext, jobject obj)
+{
+    // TODO implement this method stub correctly
+    TRACE2("management","createMemoryManagers stub invocation");
+
+    JNIEnv_Internal *jenv = (JNIEnv_Internal *)jenv_ext;
+
+    jclass memoryMXBeanImplClazz =jenv->FindClass("org/apache/harmony/lang/management/MemoryMXBeanImpl");
+    if (jenv->ExceptionCheck()) {return;};
+    jmethodID createMemoryManagerHelperMethod = jenv->GetMethodID(
+        memoryMXBeanImplClazz,
+        "createMemoryManagerHelper",
+        "(Ljava/lang/String;IZ)V");
+    if (jenv->ExceptionCheck()) {return;};
+
+    jobject nameGCMM = jenv->NewStringUTF("GCMemoryManager");
+    if (jenv->ExceptionCheck()) {return;};
+    jenv->CallVoidMethod(obj, createMemoryManagerHelperMethod, nameGCMM, 1, JNI_TRUE);
+    if (jenv->ExceptionCheck()) {return;};
+
+    jobject nameNMM = jenv->NewStringUTF("NativeMemoryManager");
+    if (jenv->ExceptionCheck()) {return;};
+    jenv->CallVoidMethod(obj, createMemoryManagerHelperMethod, nameNMM, 1, JNI_FALSE);
+};
+
+/*
+ * Class:     org_apache_harmony_lang_management_MemoryMXBeanImpl
+ * Method:    getHeapMemoryUsageImpl
+ * Signature: ()Ljava/lang/management/MemoryUsage;
+ */
+JNIEXPORT jobject JNICALL Java_org_apache_harmony_lang_management_MemoryMXBeanImpl_getHeapMemoryUsageImpl
+(JNIEnv * jenv_ext, jobject)
+{
+    // TODO implement this method stub correctly
+    TRACE2("management","getHeapMemoryUsageImpl stub invocation");
+
+    JNIEnv_Internal *jenv = (JNIEnv_Internal *)jenv_ext;
+
+    jlong init = 1L<<21;
+    jlong used = 1L<<20;
+    jlong committed = 1L<<20;
+    jlong max = 1L<<22;
+
+    jclass memoryUsageClazz =jenv->FindClass("java/lang/management/MemoryUsage");
+    if (jenv->ExceptionCheck()) {return NULL;};
+    jmethodID memoryUsageClazzConstructor = jenv->GetMethodID(memoryUsageClazz, "<init>", "(JJJJ)V");
+    if (jenv->ExceptionCheck()) {return NULL;};
+
+    jobject memoryUsage = jenv->NewObject(memoryUsageClazz, memoryUsageClazzConstructor, init, used,
+        committed, max);
+
+    return memoryUsage;
+};
+
+/*
+ * Class:     org_apache_harmony_lang_management_MemoryMXBeanImpl
+ * Method:    getNonHeapMemoryUsageImpl
+ * Signature: ()Ljava/lang/management/MemoryUsage;
+ */
+JNIEXPORT jobject JNICALL Java_org_apache_harmony_lang_management_MemoryMXBeanImpl_getNonHeapMemoryUsageImpl
+(JNIEnv * jenv_ext, jobject)
+{
+    // TODO implement this method stub correctly
+    TRACE2("management","getNonHeapMemoryUsageImpl stub invocation");
+    Global_Env* genv = VM_Global_State::loader_env;
+
+    JNIEnv_Internal *jenv = (JNIEnv_Internal *)jenv_ext;
+
+    jlong init = 1L<<21;
+    jlong used = 1L<<20;
+    jlong committed = 1L<<20;
+    jlong max = 1L<<22;
+
+    jclass memoryUsageClazz =jenv->FindClass("java/lang/management/MemoryUsage");
+    if (jenv->ExceptionCheck()) {return NULL;};
+    jmethodID memoryUsageClazzConstructor = jenv->GetMethodID(memoryUsageClazz, "<init>", "(JJJJ)V");
+    if (jenv->ExceptionCheck()) {return NULL;};
+
+    jobject memoryUsage = jenv->NewObject(memoryUsageClazz, memoryUsageClazzConstructor, init, used,
+        committed, max);
+
+    return memoryUsage;
+};
+
+/*
+ * Class:     org_apache_harmony_lang_management_MemoryMXBeanImpl
+ * Method:    getObjectPendingFinalizationCountImpl
+ * Signature: ()I
+ */
+JNIEXPORT jint JNICALL Java_org_apache_harmony_lang_management_MemoryMXBeanImpl_getObjectPendingFinalizationCountImpl
+(JNIEnv *, jobject)
+{
+    // TODO implement this method stub correctly
+    TRACE2("management","getObjectPendingFinalizationCountImp stub invocation");
+    return 20;
+}
+
+jboolean memory_bean_verbose = JNI_TRUE;
+
+/*
+ * Class:     org_apache_harmony_lang_management_MemoryMXBeanImpl
+ * Method:    isVerboseImpl
+ * Signature: ()Z
+ */
+JNIEXPORT jboolean JNICALL Java_org_apache_harmony_lang_management_MemoryMXBeanImpl_isVerboseImpl
+(JNIEnv *, jobject)
+{
+    // TODO implement this method stub correctly
+    TRACE2("management","MemoryMXBeanImpl_isVerboseImpl stub invocation");
+    return memory_bean_verbose;
+};
+
+/*
+ * Class:     org_apache_harmony_lang_management_MemoryMXBeanImpl
+ * Method:    setVerboseImpl
+ * Signature: (Z)V
+ */
+JNIEXPORT void JNICALL Java_org_apache_harmony_lang_management_MemoryMXBeanImpl_setVerboseImpl
+(JNIEnv *, jobject, jboolean newValue)
+{
+    // TODO implement this method stub correctly
+    TRACE2("management","MemoryMXBeanImpl_setVerboseImpl stub invocation");
+    memory_bean_verbose = newValue;
+};
+

Propchange: harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryMXBeanImpl.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryMXBeanImpl.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryMXBeanImpl.h?view=auto&rev=504114
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryMXBeanImpl.h (added)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryMXBeanImpl.h Tue Feb  6 04:48:10 2007
@@ -0,0 +1,93 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+/*
+ * THE FILE HAS BEEN AUTOGENERATED BY THE IJH TOOL.
+ * Please be aware that all changes made to this file manually
+ * will be overwritten by the tool if it runs again.
+ */
+
+#include <jni.h>
+
+
+/* Header for class org.apache.harmony.lang.management.MemoryMXBeanImpl */
+
+#ifndef _ORG_APACHE_HARMONY_LANG_MANAGEMENT_MEMORYMXBEANIMPL_H
+#define _ORG_APACHE_HARMONY_LANG_MANAGEMENT_MEMORYMXBEANIMPL_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+/* Static final fields */
+
+#undef org_apache_harmony_lang_management_MemoryMXBeanImpl_TM_ERROR_NONE
+#define org_apache_harmony_lang_management_MemoryMXBeanImpl_TM_ERROR_NONE 0L
+
+#undef org_apache_harmony_lang_management_MemoryMXBeanImpl_TM_ERROR_INTERRUPT
+#define org_apache_harmony_lang_management_MemoryMXBeanImpl_TM_ERROR_INTERRUPT 52L
+
+#undef org_apache_harmony_lang_management_MemoryMXBeanImpl_TM_ERROR_ILLEGAL_STATE
+#define org_apache_harmony_lang_management_MemoryMXBeanImpl_TM_ERROR_ILLEGAL_STATE 118L
+
+
+/* Native methods */
+
+/*
+ * Method: org.apache.harmony.lang.management.MemoryMXBeanImpl.createMemoryManagers()V
+ */
+JNIEXPORT void JNICALL
+Java_org_apache_harmony_lang_management_MemoryMXBeanImpl_createMemoryManagers(JNIEnv *, jobject);
+
+/*
+ * Method: org.apache.harmony.lang.management.MemoryMXBeanImpl.getHeapMemoryUsageImpl()Ljava/lang/management/MemoryUsage;
+ */
+JNIEXPORT jobject JNICALL
+Java_org_apache_harmony_lang_management_MemoryMXBeanImpl_getHeapMemoryUsageImpl(JNIEnv *, jobject);
+
+/*
+ * Method: org.apache.harmony.lang.management.MemoryMXBeanImpl.getNonHeapMemoryUsageImpl()Ljava/lang/management/MemoryUsage;
+ */
+JNIEXPORT jobject JNICALL
+Java_org_apache_harmony_lang_management_MemoryMXBeanImpl_getNonHeapMemoryUsageImpl(JNIEnv *, jobject);
+
+/*
+ * Method: org.apache.harmony.lang.management.MemoryMXBeanImpl.getObjectPendingFinalizationCountImpl()I
+ */
+JNIEXPORT jint JNICALL
+Java_org_apache_harmony_lang_management_MemoryMXBeanImpl_getObjectPendingFinalizationCountImpl(JNIEnv *, jobject);
+
+/*
+ * Method: org.apache.harmony.lang.management.MemoryMXBeanImpl.isVerboseImpl()Z
+ */
+JNIEXPORT jboolean JNICALL
+Java_org_apache_harmony_lang_management_MemoryMXBeanImpl_isVerboseImpl(JNIEnv *, jobject);
+
+/*
+ * Method: org.apache.harmony.lang.management.MemoryMXBeanImpl.setVerboseImpl(Z)V
+ */
+JNIEXPORT void JNICALL
+Java_org_apache_harmony_lang_management_MemoryMXBeanImpl_setVerboseImpl(JNIEnv *, jobject,
+    jboolean);
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _ORG_APACHE_HARMONY_LANG_MANAGEMENT_MEMORYMXBEANIMPL_H */
+

Propchange: harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryMXBeanImpl.h
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryManagerMXBeanImpl.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryManagerMXBeanImpl.cpp?view=auto&rev=504114
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryManagerMXBeanImpl.cpp (added)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryManagerMXBeanImpl.cpp Tue Feb  6 04:48:10 2007
@@ -0,0 +1,74 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+/**
+ * @author Andrey Yakushev
+ * @version $Revision$
+ */
+
+/**
+ * @file org_apache_harmony_lang_management_MemoryManagerMXBeanImpl.cpp
+ *
+ * This file is a part of kernel class natives VM core component.
+ * It contains implementation for native methods of
+ * org.apache.harmony.lang.management.MemoryManagerMXBeanImpl class.
+ */
+
+#include "org_apache_harmony_lang_management_MemoryManagerMXBeanImpl.h"
+#include <cxxlog.h>
+#include "environment.h"
+
+/* Native methods */
+
+/*
+ * Method: org.apache.harmony.lang.management.MemoryManagerMXBeanImpl.createMemoryPools(ILorg/apache/harmony/lang/management/MemoryMXBeanImpl;)V
+ */
+JNIEXPORT void JNICALL
+Java_org_apache_harmony_lang_management_MemoryManagerMXBeanImpl_createMemoryPools(
+    JNIEnv *jenv_ext, jobject obj, jint, jobject memBean)
+{
+    // TODO implement this method stub correctly
+    TRACE2("management","createMemoryPools stub invocation");
+
+    JNIEnv_Internal *jenv = (JNIEnv_Internal *)jenv_ext;
+
+    jclass memoryManagerMXBeanImplClazz =jenv->FindClass(
+        "org/apache/harmony/lang/management/MemoryManagerMXBeanImpl");
+    if (jenv->ExceptionCheck()) {return;};
+    jmethodID createMemoryPoolHelperMethod = jenv->GetMethodID(
+        memoryManagerMXBeanImplClazz,
+        "createMemoryPoolHelper",
+        "(Ljava/lang/String;ZILorg/apache/harmony/lang/management/MemoryMXBeanImpl;)V");
+    if (jenv->ExceptionCheck()) {return;};
+
+    jobject nameMP = jenv->NewStringUTF("Memory Pool #1");
+    if (jenv->ExceptionCheck()) {return;};
+
+    jenv->CallVoidMethod(obj, createMemoryPoolHelperMethod, nameMP, JNI_TRUE, 1, memBean);
+    if (jenv->ExceptionCheck()) {return;};
+};
+
+/*
+ * Method: org.apache.harmony.lang.management.MemoryManagerMXBeanImpl.isValidImpl()Z
+ */
+JNIEXPORT jboolean JNICALL
+Java_org_apache_harmony_lang_management_MemoryManagerMXBeanImpl_isValidImpl(JNIEnv *, jobject)
+{
+    // TODO implement this method stub correctly
+    TRACE2("management","isValidImpl stub invocation");
+    return JNI_TRUE;
+};
+

Propchange: harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryManagerMXBeanImpl.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryManagerMXBeanImpl.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryManagerMXBeanImpl.h?view=auto&rev=504114
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryManagerMXBeanImpl.h (added)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryManagerMXBeanImpl.h Tue Feb  6 04:48:10 2007
@@ -0,0 +1,69 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+/*
+ * THE FILE HAS BEEN AUTOGENERATED BY THE IJH TOOL.
+ * Please be aware that all changes made to this file manually
+ * will be overwritten by the tool if it runs again.
+ */
+
+#include <jni.h>
+
+
+/* Header for class org.apache.harmony.lang.management.MemoryManagerMXBeanImpl */
+
+#ifndef _ORG_APACHE_HARMONY_LANG_MANAGEMENT_MEMORYMANAGERMXBEANIMPL_H
+#define _ORG_APACHE_HARMONY_LANG_MANAGEMENT_MEMORYMANAGERMXBEANIMPL_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+/* Static final fields */
+
+#undef org_apache_harmony_lang_management_MemoryManagerMXBeanImpl_TM_ERROR_NONE
+#define org_apache_harmony_lang_management_MemoryManagerMXBeanImpl_TM_ERROR_NONE 0L
+
+#undef org_apache_harmony_lang_management_MemoryManagerMXBeanImpl_TM_ERROR_INTERRUPT
+#define org_apache_harmony_lang_management_MemoryManagerMXBeanImpl_TM_ERROR_INTERRUPT 52L
+
+#undef org_apache_harmony_lang_management_MemoryManagerMXBeanImpl_TM_ERROR_ILLEGAL_STATE
+#define org_apache_harmony_lang_management_MemoryManagerMXBeanImpl_TM_ERROR_ILLEGAL_STATE 118L
+
+
+/* Native methods */
+
+/*
+ * Method: org.apache.harmony.lang.management.MemoryManagerMXBeanImpl.createMemoryPools(ILorg/apache/harmony/lang/management/MemoryMXBeanImpl;)V
+ */
+JNIEXPORT void JNICALL
+Java_org_apache_harmony_lang_management_MemoryManagerMXBeanImpl_createMemoryPools(JNIEnv *, jobject,
+    jint, jobject);
+
+/*
+ * Method: org.apache.harmony.lang.management.MemoryManagerMXBeanImpl.isValidImpl()Z
+ */
+JNIEXPORT jboolean JNICALL
+Java_org_apache_harmony_lang_management_MemoryManagerMXBeanImpl_isValidImpl(JNIEnv *, jobject);
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _ORG_APACHE_HARMONY_LANG_MANAGEMENT_MEMORYMANAGERMXBEANIMPL_H */
+

Propchange: harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryManagerMXBeanImpl.h
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryNotificationThread.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryNotificationThread.cpp?view=auto&rev=504114
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryNotificationThread.cpp (added)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryNotificationThread.cpp Tue Feb  6 04:48:10 2007
@@ -0,0 +1,45 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+/**
+ * @author Andrey Yakushev
+ * @version $Revision$
+ */
+
+/**
+ * @file org_apache_harmony_lang_management_MemoryNotificationThread.cpp
+ *
+ * This file is a part of kernel class natives VM core component.
+ * It contains implementation for native methods of
+ * org.apache.harmony.lang.management.MemoryNotificationThread class.
+ */
+
+#include <cxxlog.h>
+#include "org_apache_harmony_lang_management_MemoryNotificationThread.h"
+
+/* Native methods */
+
+/*
+ * Method: org.apache.harmony.lang.management.MemoryNotificationThread.processNotificationLoop(I)V
+ */
+JNIEXPORT void JNICALL
+Java_org_apache_harmony_lang_management_MemoryNotificationThread_processNotificationLoop(JNIEnv *, jobject,
+                                                                                         jint)
+{
+    // TODO implement this method stub correctly
+    TRACE2("management","processNotificationLoop stub invocation");
+};
+

Propchange: harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryNotificationThread.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryNotificationThread.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryNotificationThread.h?view=auto&rev=504114
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryNotificationThread.h (added)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryNotificationThread.h Tue Feb  6 04:48:10 2007
@@ -0,0 +1,75 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+/*
+ * THE FILE HAS BEEN AUTOGENERATED BY THE IJH TOOL.
+ * Please be aware that all changes made to this file manually
+ * will be overwritten by the tool if it runs again.
+ */
+
+#include <jni.h>
+
+
+/* Header for class org.apache.harmony.lang.management.MemoryNotificationThread */
+
+#ifndef _ORG_APACHE_HARMONY_LANG_MANAGEMENT_MEMORYNOTIFICATIONTHREAD_H
+#define _ORG_APACHE_HARMONY_LANG_MANAGEMENT_MEMORYNOTIFICATIONTHREAD_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+/* Static final fields */
+
+#undef org_apache_harmony_lang_management_MemoryNotificationThread_MAX_PRIORITY
+#define org_apache_harmony_lang_management_MemoryNotificationThread_MAX_PRIORITY 10L
+
+#undef org_apache_harmony_lang_management_MemoryNotificationThread_MIN_PRIORITY
+#define org_apache_harmony_lang_management_MemoryNotificationThread_MIN_PRIORITY 1L
+
+#undef org_apache_harmony_lang_management_MemoryNotificationThread_NORM_PRIORITY
+#define org_apache_harmony_lang_management_MemoryNotificationThread_NORM_PRIORITY 5L
+
+#undef org_apache_harmony_lang_management_MemoryNotificationThread_GC_WATERMARK_MAX_COUNT
+#define org_apache_harmony_lang_management_MemoryNotificationThread_GC_WATERMARK_MAX_COUNT 700L
+
+#undef org_apache_harmony_lang_management_MemoryNotificationThread_TM_ERROR_NONE
+#define org_apache_harmony_lang_management_MemoryNotificationThread_TM_ERROR_NONE 0L
+
+#undef org_apache_harmony_lang_management_MemoryNotificationThread_TM_ERROR_INTERRUPT
+#define org_apache_harmony_lang_management_MemoryNotificationThread_TM_ERROR_INTERRUPT 52L
+
+#undef org_apache_harmony_lang_management_MemoryNotificationThread_TM_ERROR_ILLEGAL_STATE
+#define org_apache_harmony_lang_management_MemoryNotificationThread_TM_ERROR_ILLEGAL_STATE 118L
+
+
+/* Native methods */
+
+/*
+ * Method: org.apache.harmony.lang.management.MemoryNotificationThread.processNotificationLoop(I)V
+ */
+JNIEXPORT void JNICALL
+Java_org_apache_harmony_lang_management_MemoryNotificationThread_processNotificationLoop(JNIEnv *, jobject,
+    jint);
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _ORG_APACHE_HARMONY_LANG_MANAGEMENT_MEMORYNOTIFICATIONTHREAD_H */
+

Propchange: harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryNotificationThread.h
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryNotificationThreadShutdown.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryNotificationThreadShutdown.cpp?view=auto&rev=504114
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryNotificationThreadShutdown.cpp (added)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryNotificationThreadShutdown.cpp Tue Feb  6 04:48:10 2007
@@ -0,0 +1,47 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+/**
+ * @author Andrey Yakushev
+ * @version $Revision$
+ */
+
+/**
+ * @file org_apache_harmony_lang_management_MemoryNotificationThreadShutdown.cpp
+ *
+ * This file is a part of kernel class natives VM core component.
+ * It contains implementation for native methods of
+ * org.apache.harmony.lang.management.MemoryNotificationThreadShutdown class.
+ */
+
+#include <cxxlog.h>
+#include "org_apache_harmony_lang_management_MemoryNotificationThreadShutdown.h"
+
+/* Native methods */
+
+/*
+ * Method: org.apache.harmony.lang.management.MemoryNotificationThreadShutdown.sendShutdownNotification(I)V
+ */
+JNIEXPORT void JNICALL
+Java_org_apache_harmony_lang_management_MemoryNotificationThreadShutdown_sendShutdownNotification(
+    JNIEnv *,
+    jobject,
+    jint)
+{
+    // TODO implement this method stub correctly
+    TRACE2("management","sendShutdownNotification stub invocation");
+};
+

Propchange: harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryNotificationThreadShutdown.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryNotificationThreadShutdown.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryNotificationThreadShutdown.h?view=auto&rev=504114
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryNotificationThreadShutdown.h (added)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryNotificationThreadShutdown.h Tue Feb  6 04:48:10 2007
@@ -0,0 +1,75 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+/*
+ * THE FILE HAS BEEN AUTOGENERATED BY THE IJH TOOL.
+ * Please be aware that all changes made to this file manually
+ * will be overwritten by the tool if it runs again.
+ */
+
+#include <jni.h>
+
+
+/* Header for class org.apache.harmony.lang.management.MemoryNotificationThreadShutdown */
+
+#ifndef _ORG_APACHE_HARMONY_LANG_MANAGEMENT_MEMORYNOTIFICATIONTHREADSHUTDOWN_H
+#define _ORG_APACHE_HARMONY_LANG_MANAGEMENT_MEMORYNOTIFICATIONTHREADSHUTDOWN_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+/* Static final fields */
+
+#undef org_apache_harmony_lang_management_MemoryNotificationThreadShutdown_MAX_PRIORITY
+#define org_apache_harmony_lang_management_MemoryNotificationThreadShutdown_MAX_PRIORITY 10L
+
+#undef org_apache_harmony_lang_management_MemoryNotificationThreadShutdown_MIN_PRIORITY
+#define org_apache_harmony_lang_management_MemoryNotificationThreadShutdown_MIN_PRIORITY 1L
+
+#undef org_apache_harmony_lang_management_MemoryNotificationThreadShutdown_NORM_PRIORITY
+#define org_apache_harmony_lang_management_MemoryNotificationThreadShutdown_NORM_PRIORITY 5L
+
+#undef org_apache_harmony_lang_management_MemoryNotificationThreadShutdown_GC_WATERMARK_MAX_COUNT
+#define org_apache_harmony_lang_management_MemoryNotificationThreadShutdown_GC_WATERMARK_MAX_COUNT 700L
+
+#undef org_apache_harmony_lang_management_MemoryNotificationThreadShutdown_TM_ERROR_NONE
+#define org_apache_harmony_lang_management_MemoryNotificationThreadShutdown_TM_ERROR_NONE 0L
+
+#undef org_apache_harmony_lang_management_MemoryNotificationThreadShutdown_TM_ERROR_INTERRUPT
+#define org_apache_harmony_lang_management_MemoryNotificationThreadShutdown_TM_ERROR_INTERRUPT 52L
+
+#undef org_apache_harmony_lang_management_MemoryNotificationThreadShutdown_TM_ERROR_ILLEGAL_STATE
+#define org_apache_harmony_lang_management_MemoryNotificationThreadShutdown_TM_ERROR_ILLEGAL_STATE 118L
+
+
+/* Native methods */
+
+/*
+ * Method: org.apache.harmony.lang.management.MemoryNotificationThreadShutdown.sendShutdownNotification(I)V
+ */
+JNIEXPORT void JNICALL
+Java_org_apache_harmony_lang_management_MemoryNotificationThreadShutdown_sendShutdownNotification(JNIEnv *, jobject,
+    jint);
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _ORG_APACHE_HARMONY_LANG_MANAGEMENT_MEMORYNOTIFICATIONTHREADSHUTDOWN_H */
+

Propchange: harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryNotificationThreadShutdown.h
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryPoolMXBeanImpl.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryPoolMXBeanImpl.cpp?view=auto&rev=504114
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryPoolMXBeanImpl.cpp (added)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryPoolMXBeanImpl.cpp Tue Feb  6 04:48:10 2007
@@ -0,0 +1,252 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+/**
+ * @author Andrey Yakushev
+ * @version $Revision$
+ */
+
+/**
+ * @file org_apache_harmony_lang_management_MemoryPoolMXBeanImpl.cpp
+ *
+ * This file is a part of kernel class natives VM core component.
+ * It contains implementation for native methods of
+ * org.apache.harmony.lang.management.MemoryPoolMXBeanImpl class.
+ */
+
+#include <cxxlog.h>
+#include <jni.h>
+#include "org_apache_harmony_lang_management_MemoryPoolMXBeanImpl.h"
+#include "environment.h"
+
+/* Native methods */
+
+/*
+ * Method: org.apache.harmony.lang.management.MemoryPoolMXBeanImpl.getCollectionUsageImpl()Ljava/lang/management/MemoryUsage;
+ */
+JNIEXPORT jobject JNICALL
+Java_org_apache_harmony_lang_management_MemoryPoolMXBeanImpl_getCollectionUsageImpl(JNIEnv *jenv_ext, jobject)
+{
+    // TODO implement this method stub correctly
+    TRACE2("management","getCollectionUsageImpl stub invocation");
+
+    JNIEnv_Internal *jenv = (JNIEnv_Internal *)jenv_ext;
+
+    jlong init = 1L<<21;
+    jlong used = 1L<<20;
+    jlong committed = 1L<<20;
+    jlong max = 1L<<22;
+
+    jclass memoryUsageClazz =jenv->FindClass("java/lang/management/MemoryUsage");
+    if (jenv->ExceptionCheck()) return NULL;
+    jmethodID memoryUsageClazzConstructor = jenv->GetMethodID(memoryUsageClazz, "<init>", "(JJJJ)V");
+    if (jenv->ExceptionCheck()) return NULL;
+
+    jobject memoryUsage = jenv->NewObject(memoryUsageClazz, memoryUsageClazzConstructor, init, used,
+        committed, max);
+
+    return memoryUsage;
+};
+
+jlong collection_usage_threshold = 5L;
+
+/*
+ * Method: org.apache.harmony.lang.management.MemoryPoolMXBeanImpl.getCollectionUsageThresholdImpl()J
+ */
+JNIEXPORT jlong JNICALL
+Java_org_apache_harmony_lang_management_MemoryPoolMXBeanImpl_getCollectionUsageThresholdImpl(JNIEnv *, jobject){
+    // TODO implement this method stub correctly
+    TRACE2("management","getCollectionUsageThresholdImpl stub invocation");
+    return collection_usage_threshold;
+};
+
+/*
+ * Method: org.apache.harmony.lang.management.MemoryPoolMXBeanImpl.getCollectionUsageThresholdCountImpl()J
+ */
+JNIEXPORT jlong JNICALL
+Java_org_apache_harmony_lang_management_MemoryPoolMXBeanImpl_getCollectionUsageThresholdCountImpl(JNIEnv *, jobject)
+{
+    // TODO implement this method stub correctly
+    TRACE2("management","getCollectionUsageThresholdCountImpl stub invocation");
+    return 7L;
+};
+
+/*
+ * Method: org.apache.harmony.lang.management.MemoryPoolMXBeanImpl.getPeakUsageImpl()Ljava/lang/management/MemoryUsage;
+ */
+JNIEXPORT jobject JNICALL
+Java_org_apache_harmony_lang_management_MemoryPoolMXBeanImpl_getPeakUsageImpl(JNIEnv * jenv_ext, jobject)
+{
+    // TODO implement this method stub correctly
+    TRACE2("management","getPeakUsageImpl stub invocation");
+
+    JNIEnv_Internal *jenv = (JNIEnv_Internal *)jenv_ext;
+
+    jlong init = 1L<<21;
+    jlong used = 1L<<20;
+    jlong committed = 1L<<20;
+    jlong max = 1L<<22;
+
+    jclass memoryUsageClazz =jenv->FindClass("java/lang/management/MemoryUsage");
+    if (jenv->ExceptionCheck()) return NULL;
+    jmethodID memoryUsageClazzConstructor = jenv->GetMethodID(memoryUsageClazz, "<init>", "(JJJJ)V");
+    if (jenv->ExceptionCheck()) return NULL;
+
+    jobject memoryUsage = jenv->NewObject(memoryUsageClazz, memoryUsageClazzConstructor, init, used,
+        committed, max);
+
+    return memoryUsage;
+};
+
+/*
+ * Method: org.apache.harmony.lang.management.MemoryPoolMXBeanImpl.getUsageImpl()Ljava/lang/management/MemoryUsage;
+ */
+JNIEXPORT jobject JNICALL
+Java_org_apache_harmony_lang_management_MemoryPoolMXBeanImpl_getUsageImpl(JNIEnv * jenv_ext, jobject)
+{
+    // TODO implement this method stub correctly
+    TRACE2("management","MemoryPoolMXBeanImpl_getUsageImpl stub invocation");
+
+    JNIEnv_Internal *jenv = (JNIEnv_Internal *)jenv_ext;
+
+    jlong init = 1L<<21;
+    jlong used = 1L<<20;
+    jlong committed = 1L<<20;
+    jlong max = 1L<<22;
+
+    jclass memoryUsageClazz =jenv->FindClass("java/lang/management/MemoryUsage");
+    if (jenv->ExceptionCheck()) return NULL;
+    jmethodID memoryUsageClazzConstructor = jenv->GetMethodID(memoryUsageClazz, "<init>", "(JJJJ)V");
+    if (jenv->ExceptionCheck()) return NULL;
+
+    jobject memoryUsage = jenv->NewObject(memoryUsageClazz, memoryUsageClazzConstructor, init, used,
+        committed, max);
+
+    return memoryUsage;
+};
+
+jlong usage_threshold = 5L;
+
+/*
+ * Method: org.apache.harmony.lang.management.MemoryPoolMXBeanImpl.getUsageThresholdImpl()J
+ */
+JNIEXPORT jlong JNICALL
+Java_org_apache_harmony_lang_management_MemoryPoolMXBeanImpl_getUsageThresholdImpl(JNIEnv *, jobject)
+{
+    // TODO implement this method stub correctly
+    TRACE2("management","MemoryPoolMXBeanImpl_getUsageThresholdImpl stub invocation");
+    return usage_threshold;
+};
+
+/*
+ * Method: org.apache.harmony.lang.management.MemoryPoolMXBeanImpl.getUsageThresholdCountImpl()J
+ */
+JNIEXPORT jlong JNICALL
+Java_org_apache_harmony_lang_management_MemoryPoolMXBeanImpl_getUsageThresholdCountImpl(JNIEnv *, jobject)
+{
+    // TODO implement this method stub correctly
+    TRACE2("management","MemoryPoolMXBeanImpl_getUsageThresholdCountImpl stub invocation");
+    return 8L;
+};
+
+/*
+ * Method: org.apache.harmony.lang.management.MemoryPoolMXBeanImpl.isCollectionUsageThresholdExceededImpl()Z
+ */
+JNIEXPORT jboolean JNICALL
+Java_org_apache_harmony_lang_management_MemoryPoolMXBeanImpl_isCollectionUsageThresholdExceededImpl(JNIEnv *, jobject)
+{
+    // TODO implement this method stub correctly
+    TRACE2("management","isCollectionUsageThresholdExceededImpl stub invocation");
+    return JNI_FALSE;
+};
+
+/*
+ * Method: org.apache.harmony.lang.management.MemoryPoolMXBeanImpl.isCollectionUsageThresholdSupportedImpl()Z
+ */
+JNIEXPORT jboolean JNICALL
+Java_org_apache_harmony_lang_management_MemoryPoolMXBeanImpl_isCollectionUsageThresholdSupportedImpl(JNIEnv *, jobject)
+{
+    // TODO implement this method stub correctly
+    TRACE2("management","isCollectionUsageThresholdSupportedImpl stub invocation");
+    return JNI_TRUE;
+};
+
+/*
+ * Method: org.apache.harmony.lang.management.MemoryPoolMXBeanImpl.isUsageThresholdExceededImpl()Z
+ */
+JNIEXPORT jboolean JNICALL
+Java_org_apache_harmony_lang_management_MemoryPoolMXBeanImpl_isUsageThresholdExceededImpl(JNIEnv *, jobject)
+{
+    // TODO implement this method stub correctly
+    TRACE2("management","isUsageThresholdExceededImpl stub invocation");
+    return JNI_FALSE;
+};
+
+/*
+ * Method: org.apache.harmony.lang.management.MemoryPoolMXBeanImpl.isUsageThresholdSupportedImpl()Z
+ */
+JNIEXPORT jboolean JNICALL
+Java_org_apache_harmony_lang_management_MemoryPoolMXBeanImpl_isUsageThresholdSupportedImpl(JNIEnv *, jobject)
+{
+    // TODO implement this method stub correctly
+    TRACE2("management","isUsageThresholdSupportedImpl stub invocation");
+    return JNI_TRUE;
+};
+
+/*
+ * Method: org.apache.harmony.lang.management.MemoryPoolMXBeanImpl.isValidImpl()Z
+ */
+JNIEXPORT jboolean JNICALL
+Java_org_apache_harmony_lang_management_MemoryPoolMXBeanImpl_isValidImpl(JNIEnv *, jobject)
+{
+    // TODO implement this method stub correctly
+    TRACE2("management","MemoryPoolMXBeanImpl_isValidImpl stub invocation");
+    return JNI_TRUE;
+};
+
+/*
+ * Method: org.apache.harmony.lang.management.MemoryPoolMXBeanImpl.resetPeakUsageImpl()V
+ */
+JNIEXPORT void JNICALL
+Java_org_apache_harmony_lang_management_MemoryPoolMXBeanImpl_resetPeakUsageImpl(JNIEnv *, jobject)
+{
+    // TODO implement this method stub correctly
+    TRACE2("management","MemoryPoolMXBeanImpl_resetPeakUsageImpl stub invocation");
+};
+
+/*
+ * Method: org.apache.harmony.lang.management.MemoryPoolMXBeanImpl.setCollectionUsageThresholdImpl(J)V
+ */
+JNIEXPORT void JNICALL
+Java_org_apache_harmony_lang_management_MemoryPoolMXBeanImpl_setCollectionUsageThresholdImpl(
+    JNIEnv *, jobject, jlong newValue)
+{
+    // TODO implement this method stub correctly
+    TRACE2("management","MemoryPoolMXBeanImpl_setCollectionUsageThresholdImpl stub invocation");
+        collection_usage_threshold = newValue;
+};
+
+/*
+ * Method: org.apache.harmony.lang.management.MemoryPoolMXBeanImpl.setUsageThresholdImpl(J)V
+ */
+JNIEXPORT void JNICALL
+Java_org_apache_harmony_lang_management_MemoryPoolMXBeanImpl_setUsageThresholdImpl(
+    JNIEnv *, jobject, jlong newValue)
+{
+    // TODO implement this method stub correctly
+    TRACE2("management","MemoryPoolMXBeanImpl_setUsageThresholdImpl stub invocation");
+        usage_threshold = newValue;
+};

Propchange: harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryPoolMXBeanImpl.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryPoolMXBeanImpl.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryPoolMXBeanImpl.h?view=auto&rev=504114
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryPoolMXBeanImpl.h (added)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryPoolMXBeanImpl.h Tue Feb  6 04:48:10 2007
@@ -0,0 +1,148 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+/*
+ * THE FILE HAS BEEN AUTOGENERATED BY THE IJH TOOL.
+ * Please be aware that all changes made to this file manually
+ * will be overwritten by the tool if it runs again.
+ */
+
+#include <jni.h>
+
+
+/* Header for class org.apache.harmony.lang.management.MemoryPoolMXBeanImpl */
+
+#ifndef _ORG_APACHE_HARMONY_LANG_MANAGEMENT_MEMORYPOOLMXBEANIMPL_H
+#define _ORG_APACHE_HARMONY_LANG_MANAGEMENT_MEMORYPOOLMXBEANIMPL_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+/* Static final fields */
+
+#undef org_apache_harmony_lang_management_MemoryPoolMXBeanImpl_TM_ERROR_NONE
+#define org_apache_harmony_lang_management_MemoryPoolMXBeanImpl_TM_ERROR_NONE 0L
+
+#undef org_apache_harmony_lang_management_MemoryPoolMXBeanImpl_TM_ERROR_INTERRUPT
+#define org_apache_harmony_lang_management_MemoryPoolMXBeanImpl_TM_ERROR_INTERRUPT 52L
+
+#undef org_apache_harmony_lang_management_MemoryPoolMXBeanImpl_TM_ERROR_ILLEGAL_STATE
+#define org_apache_harmony_lang_management_MemoryPoolMXBeanImpl_TM_ERROR_ILLEGAL_STATE 118L
+
+
+/* Native methods */
+
+/*
+ * Method: org.apache.harmony.lang.management.MemoryPoolMXBeanImpl.getCollectionUsageImpl()Ljava/lang/management/MemoryUsage;
+ */
+JNIEXPORT jobject JNICALL
+Java_org_apache_harmony_lang_management_MemoryPoolMXBeanImpl_getCollectionUsageImpl(JNIEnv *, jobject);
+
+/*
+ * Method: org.apache.harmony.lang.management.MemoryPoolMXBeanImpl.getCollectionUsageThresholdImpl()J
+ */
+JNIEXPORT jlong JNICALL
+Java_org_apache_harmony_lang_management_MemoryPoolMXBeanImpl_getCollectionUsageThresholdImpl(JNIEnv *, jobject);
+
+/*
+ * Method: org.apache.harmony.lang.management.MemoryPoolMXBeanImpl.getCollectionUsageThresholdCountImpl()J
+ */
+JNIEXPORT jlong JNICALL
+Java_org_apache_harmony_lang_management_MemoryPoolMXBeanImpl_getCollectionUsageThresholdCountImpl(JNIEnv *, jobject);
+
+/*
+ * Method: org.apache.harmony.lang.management.MemoryPoolMXBeanImpl.getPeakUsageImpl()Ljava/lang/management/MemoryUsage;
+ */
+JNIEXPORT jobject JNICALL
+Java_org_apache_harmony_lang_management_MemoryPoolMXBeanImpl_getPeakUsageImpl(JNIEnv *, jobject);
+
+/*
+ * Method: org.apache.harmony.lang.management.MemoryPoolMXBeanImpl.getUsageImpl()Ljava/lang/management/MemoryUsage;
+ */
+JNIEXPORT jobject JNICALL
+Java_org_apache_harmony_lang_management_MemoryPoolMXBeanImpl_getUsageImpl(JNIEnv *, jobject);
+
+/*
+ * Method: org.apache.harmony.lang.management.MemoryPoolMXBeanImpl.getUsageThresholdImpl()J
+ */
+JNIEXPORT jlong JNICALL
+Java_org_apache_harmony_lang_management_MemoryPoolMXBeanImpl_getUsageThresholdImpl(JNIEnv *, jobject);
+
+/*
+ * Method: org.apache.harmony.lang.management.MemoryPoolMXBeanImpl.getUsageThresholdCountImpl()J
+ */
+JNIEXPORT jlong JNICALL
+Java_org_apache_harmony_lang_management_MemoryPoolMXBeanImpl_getUsageThresholdCountImpl(JNIEnv *, jobject);
+
+/*
+ * Method: org.apache.harmony.lang.management.MemoryPoolMXBeanImpl.isCollectionUsageThresholdExceededImpl()Z
+ */
+JNIEXPORT jboolean JNICALL
+Java_org_apache_harmony_lang_management_MemoryPoolMXBeanImpl_isCollectionUsageThresholdExceededImpl(JNIEnv *, jobject);
+
+/*
+ * Method: org.apache.harmony.lang.management.MemoryPoolMXBeanImpl.isCollectionUsageThresholdSupportedImpl()Z
+ */
+JNIEXPORT jboolean JNICALL
+Java_org_apache_harmony_lang_management_MemoryPoolMXBeanImpl_isCollectionUsageThresholdSupportedImpl(JNIEnv *, jobject);
+
+/*
+ * Method: org.apache.harmony.lang.management.MemoryPoolMXBeanImpl.isUsageThresholdExceededImpl()Z
+ */
+JNIEXPORT jboolean JNICALL
+Java_org_apache_harmony_lang_management_MemoryPoolMXBeanImpl_isUsageThresholdExceededImpl(JNIEnv *, jobject);
+
+/*
+ * Method: org.apache.harmony.lang.management.MemoryPoolMXBeanImpl.isUsageThresholdSupportedImpl()Z
+ */
+JNIEXPORT jboolean JNICALL
+Java_org_apache_harmony_lang_management_MemoryPoolMXBeanImpl_isUsageThresholdSupportedImpl(JNIEnv *, jobject);
+
+/*
+ * Method: org.apache.harmony.lang.management.MemoryPoolMXBeanImpl.isValidImpl()Z
+ */
+JNIEXPORT jboolean JNICALL
+Java_org_apache_harmony_lang_management_MemoryPoolMXBeanImpl_isValidImpl(JNIEnv *, jobject);
+
+/*
+ * Method: org.apache.harmony.lang.management.MemoryPoolMXBeanImpl.resetPeakUsageImpl()V
+ */
+JNIEXPORT void JNICALL
+Java_org_apache_harmony_lang_management_MemoryPoolMXBeanImpl_resetPeakUsageImpl(JNIEnv *, jobject);
+
+/*
+ * Method: org.apache.harmony.lang.management.MemoryPoolMXBeanImpl.setCollectionUsageThresholdImpl(J)V
+ */
+JNIEXPORT void JNICALL
+Java_org_apache_harmony_lang_management_MemoryPoolMXBeanImpl_setCollectionUsageThresholdImpl(JNIEnv *, jobject,
+    jlong);
+
+/*
+ * Method: org.apache.harmony.lang.management.MemoryPoolMXBeanImpl.setUsageThresholdImpl(J)V
+ */
+JNIEXPORT void JNICALL
+Java_org_apache_harmony_lang_management_MemoryPoolMXBeanImpl_setUsageThresholdImpl(JNIEnv *, jobject,
+    jlong);
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _ORG_APACHE_HARMONY_LANG_MANAGEMENT_MEMORYPOOLMXBEANIMPL_H */
+

Propchange: harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_MemoryPoolMXBeanImpl.h
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_RuntimeMXBeanImpl.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_RuntimeMXBeanImpl.cpp?view=auto&rev=504114
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_RuntimeMXBeanImpl.cpp (added)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_RuntimeMXBeanImpl.cpp Tue Feb  6 04:48:10 2007
@@ -0,0 +1,79 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+/**
+ * @author Andrey Yakushev
+ * @version $Revision$
+ */
+
+/**
+ * @file org_apache_harmony_lang_management_RuntimeMXBeanImpl.cpp
+ *
+ * This file is a part of kernel class natives VM core component.
+ * It contains implementation for native methods of
+ * org.apache.harmony.lang.management.RuntimeMXBeanImpl class.
+ */
+
+#include <apr_time.h>
+#include <cxxlog.h>
+#include "java_lang_System.h"
+#include "org_apache_harmony_lang_management_RuntimeMXBeanImpl.h"
+/*
+ * Method: org.apache.harmony.lang.management.RuntimeMXBeanImpl.getNameImpl()Ljava/lang/String;
+ */
+JNIEXPORT jstring JNICALL
+Java_org_apache_harmony_lang_management_RuntimeMXBeanImpl_getNameImpl(JNIEnv *env, jobject)
+{
+    // TODO implement this method stub correctly
+    TRACE2("management","RuntimeMXBeanImpl_getNameImpl stub invocation");
+    char *buf = "DRLVM";
+    return env->NewStringUTF(buf);
+};
+
+/*
+ * Method: org.apache.harmony.lang.management.RuntimeMXBeanImpl.getStartTimeImpl()J
+ */
+JNIEXPORT jlong JNICALL
+Java_org_apache_harmony_lang_management_RuntimeMXBeanImpl_getStartTimeImpl(JNIEnv *env, jobject )
+{
+    // TODO implement this method stub correctly
+    TRACE2("management","RuntimeMXBeanImpl_getStartTimeImpl stub invocation");
+    return apr_time_now()/1000;
+};
+
+/*
+ * Method: org.apache.harmony.lang.management.RuntimeMXBeanImpl.getUptimeImpl()J
+ */
+JNIEXPORT jlong JNICALL
+Java_org_apache_harmony_lang_management_RuntimeMXBeanImpl_getUptimeImpl(JNIEnv *, jobject)
+{
+    // TODO implement this method stub correctly
+    TRACE2("management","RuntimeMXBeanImpl_getUptimeImpl stub invocation");
+    return 1L<<10;
+};
+
+/*
+ * Method: org.apache.harmony.lang.management.RuntimeMXBeanImpl.isBootClassPathSupportedImpl()Z
+ */
+JNIEXPORT jboolean JNICALL
+Java_org_apache_harmony_lang_management_RuntimeMXBeanImpl_isBootClassPathSupportedImpl(JNIEnv *, jobject)
+{
+    // TODO implement this method stub correctly
+    TRACE2("management","isBootClassPathSupportedImpl stub invocation");
+    return JNI_TRUE;
+};
+
+

Propchange: harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_RuntimeMXBeanImpl.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_RuntimeMXBeanImpl.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_RuntimeMXBeanImpl.h?view=auto&rev=504114
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_RuntimeMXBeanImpl.h (added)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_RuntimeMXBeanImpl.h Tue Feb  6 04:48:10 2007
@@ -0,0 +1,80 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+/*
+ * THE FILE HAS BEEN AUTOGENERATED BY THE IJH TOOL.
+ * Please be aware that all changes made to this file manually
+ * will be overwritten by the tool if it runs again.
+ */
+
+#include <jni.h>
+
+
+/* Header for class org.apache.harmony.lang.management.RuntimeMXBeanImpl */
+
+#ifndef _ORG_APACHE_HARMONY_LANG_MANAGEMENT_RUNTIMEMXBEANIMPL_H
+#define _ORG_APACHE_HARMONY_LANG_MANAGEMENT_RUNTIMEMXBEANIMPL_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+/* Static final fields */
+
+#undef org_apache_harmony_lang_management_RuntimeMXBeanImpl_TM_ERROR_NONE
+#define org_apache_harmony_lang_management_RuntimeMXBeanImpl_TM_ERROR_NONE 0L
+
+#undef org_apache_harmony_lang_management_RuntimeMXBeanImpl_TM_ERROR_INTERRUPT
+#define org_apache_harmony_lang_management_RuntimeMXBeanImpl_TM_ERROR_INTERRUPT 52L
+
+#undef org_apache_harmony_lang_management_RuntimeMXBeanImpl_TM_ERROR_ILLEGAL_STATE
+#define org_apache_harmony_lang_management_RuntimeMXBeanImpl_TM_ERROR_ILLEGAL_STATE 118L
+
+
+/* Native methods */
+
+/*
+ * Method: org.apache.harmony.lang.management.RuntimeMXBeanImpl.getNameImpl()Ljava/lang/String;
+ */
+JNIEXPORT jstring JNICALL
+Java_org_apache_harmony_lang_management_RuntimeMXBeanImpl_getNameImpl(JNIEnv *, jobject);
+
+/*
+ * Method: org.apache.harmony.lang.management.RuntimeMXBeanImpl.getStartTimeImpl()J
+ */
+JNIEXPORT jlong JNICALL
+Java_org_apache_harmony_lang_management_RuntimeMXBeanImpl_getStartTimeImpl(JNIEnv *, jobject);
+
+/*
+ * Method: org.apache.harmony.lang.management.RuntimeMXBeanImpl.getUptimeImpl()J
+ */
+JNIEXPORT jlong JNICALL
+Java_org_apache_harmony_lang_management_RuntimeMXBeanImpl_getUptimeImpl(JNIEnv *, jobject);
+
+/*
+ * Method: org.apache.harmony.lang.management.RuntimeMXBeanImpl.isBootClassPathSupportedImpl()Z
+ */
+JNIEXPORT jboolean JNICALL
+Java_org_apache_harmony_lang_management_RuntimeMXBeanImpl_isBootClassPathSupportedImpl(JNIEnv *, jobject);
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _ORG_APACHE_HARMONY_LANG_MANAGEMENT_RUNTIMEMXBEANIMPL_H */
+

Propchange: harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/org_apache_harmony_lang_management_RuntimeMXBeanImpl.h
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message