summaryrefslogtreecommitdiff
path: root/gnu/java/lang/management/MemoryPoolMXBeanImpl.java
diff options
context:
space:
mode:
authorAndrew John Hughes <gnu_andrew@member.fsf.org>2006-07-22 19:59:12 +0000
committerAndrew John Hughes <gnu_andrew@member.fsf.org>2006-07-22 19:59:12 +0000
commitf4aada78b313b1148dfa018f3557d3030acc5efd (patch)
tree5f92bb484074f76f41000ca1f558a00ecbe29e67 /gnu/java/lang/management/MemoryPoolMXBeanImpl.java
parent117a7978539cb6f9ddd0bd483979970b532ed899 (diff)
downloadclasspath-f4aada78b313b1148dfa018f3557d3030acc5efd.tar.gz
2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
* doc/vmintegration.texinfo: Document getType(String). * gnu/java/lang/management/MemoryPoolMXBeanImpl.java, * java/lang/management/MemoryPoolMXBean.java: (getType()): Implemented. * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java (getType(String)): Implemented.
Diffstat (limited to 'gnu/java/lang/management/MemoryPoolMXBeanImpl.java')
-rw-r--r--gnu/java/lang/management/MemoryPoolMXBeanImpl.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/java/lang/management/MemoryPoolMXBeanImpl.java b/gnu/java/lang/management/MemoryPoolMXBeanImpl.java
index af718e3ff..9554aae00 100644
--- a/gnu/java/lang/management/MemoryPoolMXBeanImpl.java
+++ b/gnu/java/lang/management/MemoryPoolMXBeanImpl.java
@@ -125,6 +125,11 @@ public final class MemoryPoolMXBeanImpl
return null;
}
+ public String getType()
+ {
+ return VMMemoryPoolMXBeanImpl.getType(name);
+ }
+
public MemoryUsage getUsage()
{
if (isValid())