diff options
| author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-01-09 19:58:05 +0000 |
|---|---|---|
| committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-01-09 19:58:05 +0000 |
| commit | 65bf3316cf384588453604be6b4f0ed3751a8b0f (patch) | |
| tree | 996a5f57d4a68c53473382e45cb22f574cb3e4db /libjava/gnu/java/lang/management/VMMemoryMXBeanImpl.java | |
| parent | 8fc56618a84446beccd45b80381cdfe0e94050df (diff) | |
| download | ppe42-gcc-65bf3316cf384588453604be6b4f0ed3751a8b0f.tar.gz ppe42-gcc-65bf3316cf384588453604be6b4f0ed3751a8b0f.zip | |
Merged gcj-eclipse branch to trunk.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120621 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/gnu/java/lang/management/VMMemoryMXBeanImpl.java')
| -rw-r--r-- | libjava/gnu/java/lang/management/VMMemoryMXBeanImpl.java | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/libjava/gnu/java/lang/management/VMMemoryMXBeanImpl.java b/libjava/gnu/java/lang/management/VMMemoryMXBeanImpl.java index 660de5eb707..193e3353517 100644 --- a/libjava/gnu/java/lang/management/VMMemoryMXBeanImpl.java +++ b/libjava/gnu/java/lang/management/VMMemoryMXBeanImpl.java @@ -76,20 +76,14 @@ final class VMMemoryMXBeanImpl * @return an {@link java.lang.management.MemoryUsage} instance * for non-heap memory. */ - static MemoryUsage getNonHeapMemoryUsage() - { - return null; - } + static native MemoryUsage getNonHeapMemoryUsage(); /** * Returns the number of objects ready to be garbage collected. * * @return the number of finalizable objects. */ - static int getObjectPendingFinalizationCount() - { - return -1; - } + static native int getObjectPendingFinalizationCount(); /** * Returns true if the virtual machine will emit additional @@ -98,10 +92,7 @@ final class VMMemoryMXBeanImpl * * @return true if verbose class loading output is on. */ - static boolean isVerbose() - { - return false; - } + static native boolean isVerbose(); /** * Turns on or off the emission of additional information @@ -113,8 +104,6 @@ final class VMMemoryMXBeanImpl * @param verbose the new setting for verbose class loading * output. */ - static void setVerbose(boolean verbose) - { - } + static native void setVerbose(boolean verbose); } |

