java-stack.h (_Jv_FrameInfo): Remove union definition.
[official-gcc.git] / libjava / gnu / java / lang / management / natVMMemoryPoolMXBeanImpl.cc
blob7bc0162d3d93c081a84d3fa66a8bb8e77efa65f8
1 /* Copyright (C) 2006 Free Software Foundation
3 This file is part of libgcj.
5 This software is copyrighted work licensed under the terms of the
6 Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
7 details. */
9 /**
10 * @author Andrew John Hughes <gnu_andrew@member.fsf.org>
11 * @date Tue 08 Aug 2006 */
12 /* Implemented for our sole pool, the heap (we ignore the name input).
13 * Status: Stubbed.
16 #include <config.h>
18 #include <gcj/cni.h>
19 #include <gnu/java/lang/management/VMMemoryPoolMXBeanImpl.h>
20 #include <java/lang/UnsupportedOperationException.h>
22 ::java::lang::management::MemoryUsage *
23 gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getCollectionUsage(jstring)
25 throw new ::java::lang::UnsupportedOperationException (JvNewStringLatin1 ("gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getCollectionUsage (::java::lang::String *) not implemented"));
29 jlong
30 gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getCollectionUsageThreshold (::java::lang::String *)
32 throw new ::java::lang::UnsupportedOperationException (JvNewStringLatin1 ("gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getCollectionUsageThreshold (::java::lang::String *) not implemented"));
36 jlong
37 gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getCollectionUsageThresholdCount (::java::lang::String *)
39 throw new ::java::lang::UnsupportedOperationException (JvNewStringLatin1 ("gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getCollectionUsageThresholdCount (::java::lang::String *) not implemented"));
43 JArray< ::java::lang::String *> *
44 gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getMemoryManagerNames(jstring)
46 return (JArray<jstring>*)
47 JvNewObjectArray(1, &::java::lang::String::class$, JvNewStringLatin1("BoehmGC"));
51 ::java::lang::management::MemoryUsage *
52 gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getPeakUsage (::java::lang::String *)
54 throw new ::java::lang::UnsupportedOperationException (JvNewStringLatin1 ("gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getPeakUsage (::java::lang::String *) not implemented"));
58 ::java::lang::String *
59 gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getType (::java::lang::String *)
61 throw new ::java::lang::UnsupportedOperationException (JvNewStringLatin1 ("gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getType (::java::lang::String *) not implemented"));
65 ::java::lang::management::MemoryUsage *
66 gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getUsage (::java::lang::String *)
68 throw new ::java::lang::UnsupportedOperationException (JvNewStringLatin1 ("gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getUsage (::java::lang::String *) not implemented"));
72 jlong
73 gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getUsageThreshold (::java::lang::String *)
75 throw new ::java::lang::UnsupportedOperationException (JvNewStringLatin1 ("gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getUsageThreshold (::java::lang::String *) not implemented"));
79 jlong
80 gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getUsageThresholdCount (::java::lang::String *)
82 throw new ::java::lang::UnsupportedOperationException (JvNewStringLatin1 ("gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getUsageThresholdCount (::java::lang::String *) not implemented"));
86 jboolean
87 gnu::java::lang::management::VMMemoryPoolMXBeanImpl::isValid (::java::lang::String *)
89 return true;
93 void
94 gnu::java::lang::management::VMMemoryPoolMXBeanImpl::resetPeakUsage (::java::lang::String *)
96 throw new ::java::lang::UnsupportedOperationException (JvNewStringLatin1 ("gnu::java::lang::management::VMMemoryPoolMXBeanImpl::resetPeakUsage (::java::lang::String *) not implemented"));
100 void
101 gnu::java::lang::management::VMMemoryPoolMXBeanImpl::setCollectionUsageThreshold (::java::lang::String *, jlong)
103 throw new ::java::lang::UnsupportedOperationException (JvNewStringLatin1 ("gnu::java::lang::management::VMMemoryPoolMXBeanImpl::setCollectionUsageThreshold (::java::lang::String *, jlong) not implemented"));
107 void
108 gnu::java::lang::management::VMMemoryPoolMXBeanImpl::setUsageThreshold (::java::lang::String *, jlong)
110 throw new ::java::lang::UnsupportedOperationException (JvNewStringLatin1 ("gnu::java::lang::management::VMMemoryPoolMXBeanImpl::setUsageThreshold (::java::lang::String *, jlong) not implemented"));