--- old/src/java.management/share/classes/java/lang/management/MemoryMXBean.java 2015-08-05 20:44:27.346427434 +0400 +++ new/src/java.management/share/classes/java/lang/management/MemoryMXBean.java 2015-08-05 20:44:27.134427443 +0400 @@ -37,13 +37,13 @@ * that can be obtained by calling * the {@link ManagementFactory#getMemoryMXBean} method or * from the {@link ManagementFactory#getPlatformMBeanServer - * platform MBeanServer} method. + * platform MBeanServer} method. * - *

The ObjectName for uniquely identifying the MXBean for + *

The {@code ObjectName} for uniquely identifying the MXBean for * the memory system within an MBeanServer is: *

* {@link ManagementFactory#MEMORY_MXBEAN_NAME - * java.lang:type=Memory} + * java.lang:type=Memory} *
* * It can be obtained by calling the @@ -133,7 +133,7 @@ * *

Notifications

* - *

This MemoryMXBean is a + *

This {@code MemoryMXBean} is a * {@link javax.management.NotificationEmitter NotificationEmitter} * that emits two types of memory {@link javax.management.Notification * notifications} if any one of the memory pools @@ -164,20 +164,20 @@ * user data} is set to a {@link CompositeData CompositeData} * that represents a {@link MemoryNotificationInfo} object * containing information about the memory pool when the notification - * was constructed. The CompositeData contains the attributes + * was constructed. The {@code CompositeData} contains the attributes * as described in {@link MemoryNotificationInfo#from * MemoryNotificationInfo}. * *


*

NotificationEmitter

- * The MemoryMXBean object returned by + * The {@code MemoryMXBean} object returned by * {@link ManagementFactory#getMemoryMXBean} implements * the {@link javax.management.NotificationEmitter NotificationEmitter} * interface that allows a listener to be registered within the - * MemoryMXBean as a notification listener. + * {@code MemoryMXBean} as a notification listener. * - * Below is an example code that registers a MyListener to handle - * notification emitted by the MemoryMXBean. + * Below is an example code that registers a {@code MyListener} to handle + * notification emitted by the {@code MemoryMXBean}. * *
  * class MyListener implements javax.management.NotificationListener {
@@ -215,10 +215,10 @@
     /**
      * Returns the current memory usage of the heap that
      * is used for object allocation.  The heap consists
-     * of one or more memory pools.  The used
-     * and committed size of the returned memory
+     * of one or more memory pools.  The {@code used}
+     * and {@code committed} size of the returned memory
      * usage is the sum of those values of all heap memory pools
-     * whereas the init and max size of the
+     * whereas the {@code init} and {@code max} size of the
      * returned memory usage represents the setting of the heap
      * memory which may not be the sum of those of all heap
      * memory pools.
@@ -229,8 +229,8 @@
      *
      * 

* MBeanServer access:
- * The mapped type of MemoryUsage is - * CompositeData with attributes as specified in + * The mapped type of {@code MemoryUsage} is + * {@code CompositeData} with attributes as specified in * {@link MemoryUsage#from MemoryUsage}. * * @return a {@link MemoryUsage} object representing @@ -242,18 +242,18 @@ * Returns the current memory usage of non-heap memory that * is used by the Java virtual machine. * The non-heap memory consists of one or more memory pools. - * The used and committed size of the + * The {@code used} and {@code committed} size of the * returned memory usage is the sum of those values of - * all non-heap memory pools whereas the init - * and max size of the returned memory usage + * all non-heap memory pools whereas the {@code init} + * and {@code max} size of the returned memory usage * represents the setting of the non-heap * memory which may not be the sum of those of all non-heap * memory pools. * *

* MBeanServer access:
- * The mapped type of MemoryUsage is - * CompositeData with attributes as specified in + * The mapped type of {@code MemoryUsage} is + * {@code CompositeData} with attributes as specified in * {@link MemoryUsage#from MemoryUsage}. * * @return a {@link MemoryUsage} object representing @@ -264,8 +264,8 @@ /** * Tests if verbose output for the memory system is enabled. * - * @return true if verbose output for the memory - * system is enabled; false otherwise. + * @return {@code true} if verbose output for the memory + * system is enabled; {@code false} otherwise. */ public boolean isVerbose(); @@ -280,8 +280,8 @@ * Each invocation of this method enables or disables verbose * output globally. * - * @param value true to enable verbose output; - * false to disable. + * @param value {@code true} to enable verbose output; + * {@code false} to disable. * * @exception java.lang.SecurityException if a security manager * exists and the caller does not have