* src/vm/class.h (vm/loader.h): Added.
[cacao.git] / src / native / vm / gnu / java_lang_management_VMManagementFactory.c
1 /* src/native/vm/java_lang_management_VMManagementFactory.c
2
3    Copyright (C) 1996-2005, 2006 R. Grafl, A. Krall, C. Kruegel,
4    C. Oates, R. Obermaisser, M. Platter, M. Probst, S. Ring,
5    E. Steiner, C. Thalinger, D. Thuernbeck, P. Tomsich, C. Ullrich,
6    J. Wenninger, Institut f. Computersprachen - TU Wien
7
8    This file is part of CACAO.
9
10    This program is free software; you can redistribute it and/or
11    modify it under the terms of the GNU General Public License as
12    published by the Free Software Foundation; either version 2, or (at
13    your option) any later version.
14
15    This program is distributed in the hope that it will be useful, but
16    WITHOUT ANY WARRANTY; without even the implied warranty of
17    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18    General Public License for more details.
19
20    You should have received a copy of the GNU General Public License
21    along with this program; if not, write to the Free Software
22    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
23    02110-1301, USA.
24
25    Contact: cacao@cacaojvm.org
26
27    Authors: Christian Thalinger
28
29    Changes:
30
31    $Id: VMFrame.c 4996 2006-05-31 13:53:16Z motse $
32
33 */
34
35
36 #include "config.h"
37
38 #include <stdlib.h>
39
40 #include "vm/types.h"
41
42 #include "native/jni.h"
43
44 #include "toolbox/logging.h"
45 #include "vm/builtin.h"
46 #include "vm/class.h"
47
48
49 /*
50  * Class:     java/lang/management/VMManagementFactory
51  * Method:    getMemoryPoolNames
52  * Signature: ()[Ljava/lang/String;
53  */
54 JNIEXPORT java_objectarray* JNICALL Java_java_lang_management_VMManagementFactory_getMemoryPoolNames(JNIEnv *env, jclass clazz)
55 {
56         java_objectarray *oa;
57
58         log_println("Java_java_lang_management_VMManagementFactory_getMemoryPoolNames: IMPLEMENT ME!");
59
60         oa = builtin_anewarray(0, class_java_lang_String);
61
62         return oa;
63 }
64
65
66 /*
67  * Class:     java/lang/management/VMManagementFactory
68  * Method:    getMemoryManagerNames
69  * Signature: ()[Ljava/lang/String;
70  */
71 JNIEXPORT java_objectarray* JNICALL Java_java_lang_management_VMManagementFactory_getMemoryManagerNames(JNIEnv *env, jclass clazz)
72 {
73         java_objectarray *oa;
74
75         log_println("Java_java_lang_management_VMManagementFactory_getMemoryManagerNames: IMPLEMENT ME!");
76
77         oa = builtin_anewarray(0, class_java_lang_String);
78
79         return oa;
80 }
81
82
83 /*
84  * Class:     java/lang/management/VMManagementFactory
85  * Method:    getGarbageCollectorNames
86  * Signature: ()[Ljava/lang/String;
87  */
88 JNIEXPORT java_objectarray* JNICALL Java_java_lang_management_VMManagementFactory_getGarbageCollectorNames(JNIEnv *env, jclass clazz)
89 {
90         java_objectarray *oa;
91
92         log_println("Java_java_lang_management_VMManagementFactory_getGarbageCollectorNames: IMPLEMENT ME!");
93
94         oa = builtin_anewarray(0, class_java_lang_String);
95
96         return oa;
97 }
98
99
100 /*
101  * These are local overrides for various environment variables in Emacs.
102  * Please do not remove this and leave it at the end of the file, where
103  * Emacs will automagically detect them.
104  * ---------------------------------------------------------------------
105  * Local variables:
106  * mode: c
107  * indent-tabs-mode: t
108  * c-basic-offset: 4
109  * tab-width: 4
110  * End:
111  * vim:noexpandtab:sw=4:ts=4:
112  */