8242844: JFR: Clean up typos and log format
Fixed the typos and format Reviewed-by: egahlin, mseledtsov
This commit is contained in:
parent
50bca089c4
commit
d0f5c5c6bb
@ -504,7 +504,7 @@ public class RecordedObject {
|
|||||||
* conversion
|
* conversion
|
||||||
*
|
*
|
||||||
* @see #hasField(String)
|
* @see #hasField(String)
|
||||||
* @set #getValue(String)
|
* @see #getValue(String)
|
||||||
*/
|
*/
|
||||||
public final short getShort(String name) {
|
public final short getShort(String name) {
|
||||||
Object o = getValue(name, true);
|
Object o = getValue(name, true);
|
||||||
@ -551,7 +551,7 @@ public class RecordedObject {
|
|||||||
* conversion
|
* conversion
|
||||||
*
|
*
|
||||||
* @see #hasField(String)
|
* @see #hasField(String)
|
||||||
* @set #getValue(String)
|
* @see #getValue(String)
|
||||||
*/
|
*/
|
||||||
public final int getInt(String name) {
|
public final int getInt(String name) {
|
||||||
Object o = getValue(name, true);
|
Object o = getValue(name, true);
|
||||||
@ -604,7 +604,7 @@ public class RecordedObject {
|
|||||||
* conversion
|
* conversion
|
||||||
*
|
*
|
||||||
* @see #hasField(String)
|
* @see #hasField(String)
|
||||||
* @set #getValue(String)
|
* @see #getValue(String)
|
||||||
*/
|
*/
|
||||||
public final float getFloat(String name) {
|
public final float getFloat(String name) {
|
||||||
Object o = getValue(name);
|
Object o = getValue(name);
|
||||||
@ -654,7 +654,7 @@ public class RecordedObject {
|
|||||||
* conversion
|
* conversion
|
||||||
*
|
*
|
||||||
* @see #hasField(String)
|
* @see #hasField(String)
|
||||||
* @set #getValue(String)
|
* @see #getValue(String)
|
||||||
*/
|
*/
|
||||||
public final long getLong(String name) {
|
public final long getLong(String name) {
|
||||||
Object o = getValue(name, true);
|
Object o = getValue(name, true);
|
||||||
@ -710,7 +710,7 @@ public class RecordedObject {
|
|||||||
* conversion
|
* conversion
|
||||||
*
|
*
|
||||||
* @see #hasField(String)
|
* @see #hasField(String)
|
||||||
* @set #getValue(String)
|
* @see #getValue(String)
|
||||||
*/
|
*/
|
||||||
public final double getDouble(String name) {
|
public final double getDouble(String name) {
|
||||||
Object o = getValue(name);
|
Object o = getValue(name);
|
||||||
@ -755,7 +755,7 @@ public class RecordedObject {
|
|||||||
* isn't of type {@code String}
|
* isn't of type {@code String}
|
||||||
*
|
*
|
||||||
* @see #hasField(String)
|
* @see #hasField(String)
|
||||||
* @set #getValue(String)
|
* @see #getValue(String)
|
||||||
*/
|
*/
|
||||||
public final String getString(String name) {
|
public final String getString(String name) {
|
||||||
return getTypedValue(name, "java.lang.String");
|
return getTypedValue(name, "java.lang.String");
|
||||||
@ -782,7 +782,7 @@ public class RecordedObject {
|
|||||||
* value can't be converted to a {@code Duration} object
|
* value can't be converted to a {@code Duration} object
|
||||||
*
|
*
|
||||||
* @see #hasField(String)
|
* @see #hasField(String)
|
||||||
* @set #getValue(String)
|
* @see #getValue(String)
|
||||||
*/
|
*/
|
||||||
public final Duration getDuration(String name) {
|
public final Duration getDuration(String name) {
|
||||||
Object o = getValue(name);
|
Object o = getValue(name);
|
||||||
@ -813,7 +813,7 @@ public class RecordedObject {
|
|||||||
return getDuration(Short.toUnsignedLong((Byte) u), name);
|
return getDuration(Short.toUnsignedLong((Byte) u), name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
throw newIllegalArgumentException(name, "java,time.Duration");
|
throw newIllegalArgumentException(name, "java.time.Duration");
|
||||||
}
|
}
|
||||||
|
|
||||||
private Duration getDuration(long timespan, String name) throws InternalError {
|
private Duration getDuration(long timespan, String name) throws InternalError {
|
||||||
@ -861,7 +861,7 @@ public class RecordedObject {
|
|||||||
* value can't be converted to an {@code Instant} object
|
* value can't be converted to an {@code Instant} object
|
||||||
*
|
*
|
||||||
* @see #hasField(String)
|
* @see #hasField(String)
|
||||||
* @set #getValue(String)
|
* @see #getValue(String)
|
||||||
*/
|
*/
|
||||||
public final Instant getInstant(String name) {
|
public final Instant getInstant(String name) {
|
||||||
Object o = getValue(name, true);
|
Object o = getValue(name, true);
|
||||||
@ -931,7 +931,7 @@ public class RecordedObject {
|
|||||||
* isn't of type {@code Class}
|
* isn't of type {@code Class}
|
||||||
*
|
*
|
||||||
* @see #hasField(String)
|
* @see #hasField(String)
|
||||||
* @set #getValue(String)
|
* @see #getValue(String)
|
||||||
*/
|
*/
|
||||||
public final RecordedClass getClass(String name) {
|
public final RecordedClass getClass(String name) {
|
||||||
return getTypedValue(name, "java.lang.Class");
|
return getTypedValue(name, "java.lang.Class");
|
||||||
@ -955,7 +955,7 @@ public class RecordedObject {
|
|||||||
* isn't of type {@code Thread}
|
* isn't of type {@code Thread}
|
||||||
*
|
*
|
||||||
* @see #hasField(String)
|
* @see #hasField(String)
|
||||||
* @set #getValue(String)
|
* @see #getValue(String)
|
||||||
*/
|
*/
|
||||||
public final RecordedThread getThread(String name) {
|
public final RecordedThread getThread(String name) {
|
||||||
return getTypedValue(name, "java.lang.Thread");
|
return getTypedValue(name, "java.lang.Thread");
|
||||||
|
@ -79,10 +79,10 @@ final class DCmdConfigure extends AbstractDCmd {
|
|||||||
", stackdepth=" + stackDepth +
|
", stackdepth=" + stackDepth +
|
||||||
", globalbuffercount=" + globalBufferCount +
|
", globalbuffercount=" + globalBufferCount +
|
||||||
", globalbuffersize=" + globalBufferSize +
|
", globalbuffersize=" + globalBufferSize +
|
||||||
", thread_buffer_size" + threadBufferSize +
|
", thread_buffer_size=" + threadBufferSize +
|
||||||
", memorysize" + memorySize +
|
", memorysize=" + memorySize +
|
||||||
", maxchunksize=" + maxChunkSize +
|
", maxchunksize=" + maxChunkSize +
|
||||||
", samplethreads" + sampleThreads);
|
", samplethreads=" + sampleThreads);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -79,7 +79,7 @@ final class DCmdDump extends AbstractDCmd {
|
|||||||
", maxage=" + maxAge +
|
", maxage=" + maxAge +
|
||||||
", maxsize=" + maxSize +
|
", maxsize=" + maxSize +
|
||||||
", begin=" + begin +
|
", begin=" + begin +
|
||||||
", end" + end +
|
", end=" + end +
|
||||||
", path-to-gc-roots=" + pathToGcRoots);
|
", path-to-gc-roots=" + pathToGcRoots);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -91,9 +91,9 @@ final class DCmdStart extends AbstractDCmd {
|
|||||||
", disk=" + disk+
|
", disk=" + disk+
|
||||||
", filename=" + path +
|
", filename=" + path +
|
||||||
", maxage=" + maxAge +
|
", maxage=" + maxAge +
|
||||||
", flush=" + flush +
|
", flush-interval=" + flush +
|
||||||
", maxsize=" + maxSize +
|
", maxsize=" + maxSize +
|
||||||
", dumponexit =" + dumpOnExit +
|
", dumponexit=" + dumpOnExit +
|
||||||
", path-to-gc-roots=" + pathToGcRoots);
|
", path-to-gc-roots=" + pathToGcRoots);
|
||||||
}
|
}
|
||||||
if (name != null) {
|
if (name != null) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user