--- old/src/java.management/share/classes/com/sun/management/GcInfo.java 2015-04-28 17:43:15.527600373 +0400 +++ new/src/java.management/share/classes/com/sun/management/GcInfo.java 2015-04-28 17:43:15.287600373 +0400 @@ -52,13 +52,13 @@ * * *

- * GcInfo is a {@link CompositeData CompositeData} + * {@code GcInfo} is a {@link CompositeData CompositeData} * The GC-specific attributes can be obtained via the CompositeData * interface. This is a historical relic, and other classes should * not copy this pattern. Use {@link CompositeDataView} instead. * *

MXBean Mapping

- * GcInfo is mapped to a {@link CompositeData CompositeData} + * {@code GcInfo} is mapped to a {@link CompositeData CompositeData} * with attributes as specified in the {@link #from from} method. * * @author Mandy Chung @@ -152,11 +152,11 @@ * Returns the memory usage of all memory pools * at the beginning of this GC. * This method returns - * a Map of the name of a memory pool + * a {@code Map} of the name of a memory pool * to the memory usage of the corresponding * memory pool before GC starts. * - * @return a Map of memory pool names to the memory + * @return a {@code Map} of memory pool names to the memory * usage of a memory pool before GC starts. */ public Map getMemoryUsageBeforeGc() { @@ -167,11 +167,11 @@ * Returns the memory usage of all memory pools * at the end of this GC. * This method returns - * a Map of the name of a memory pool + * a {@code Map} of the name of a memory pool * to the memory usage of the corresponding * memory pool when GC finishes. * - * @return a Map of memory pool names to the memory + * @return a {@code Map} of memory pool names to the memory * usage of a memory pool when GC finishes. */ public Map getMemoryUsageAfterGc() { @@ -179,12 +179,11 @@ } /** - * Returns a GcInfo object represented by the - * given CompositeData. The given - * CompositeData must contain + * Returns a {@code GcInfo} object represented by the + * given {@code CompositeData}. The given + * {@code CompositeData} must contain * all the following attributes: * - *

*

* * @@ -193,33 +192,33 @@ * * * - * + * * * * - * + * * * * - * + * * * * - * + * * * * - * + * * *
indexjava.lang.Long{@code java.lang.Long}
startTimejava.lang.Long{@code java.lang.Long}
endTimejava.lang.Long{@code java.lang.Long}
memoryUsageBeforeGcjavax.management.openmbean.TabularData{@code javax.management.openmbean.TabularData}
memoryUsageAfterGcjavax.management.openmbean.TabularData{@code javax.management.openmbean.TabularData}
*
* - * @throws IllegalArgumentException if cd does not - * represent a GcInfo object with the attributes + * @throws IllegalArgumentException if {@code cd} does not + * represent a {@code GcInfo} object with the attributes * described above. * - * @return a GcInfo object represented by cd - * if cd is not null; null otherwise. + * @return a {@code GcInfo} object represented by {@code cd} + * if {@code cd} is not {@code null}; {@code null} otherwise. */ public static GcInfo from(CompositeData cd) { if (cd == null) { @@ -272,7 +271,7 @@ } /** - *

Return the {@code CompositeData} representation of this + * Return the {@code CompositeData} representation of this * {@code GcInfo}, including any GC-specific attributes. The * returned value will have at least all the attributes described * in the {@link #from(CompositeData) from} method, plus optionally