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
|
||||
*
|
||||
* @see #hasField(String)
|
||||
* @set #getValue(String)
|
||||
* @see #getValue(String)
|
||||
*/
|
||||
public final short getShort(String name) {
|
||||
Object o = getValue(name, true);
|
||||
@ -551,7 +551,7 @@ public class RecordedObject {
|
||||
* conversion
|
||||
*
|
||||
* @see #hasField(String)
|
||||
* @set #getValue(String)
|
||||
* @see #getValue(String)
|
||||
*/
|
||||
public final int getInt(String name) {
|
||||
Object o = getValue(name, true);
|
||||
@ -604,7 +604,7 @@ public class RecordedObject {
|
||||
* conversion
|
||||
*
|
||||
* @see #hasField(String)
|
||||
* @set #getValue(String)
|
||||
* @see #getValue(String)
|
||||
*/
|
||||
public final float getFloat(String name) {
|
||||
Object o = getValue(name);
|
||||
@ -654,7 +654,7 @@ public class RecordedObject {
|
||||
* conversion
|
||||
*
|
||||
* @see #hasField(String)
|
||||
* @set #getValue(String)
|
||||
* @see #getValue(String)
|
||||
*/
|
||||
public final long getLong(String name) {
|
||||
Object o = getValue(name, true);
|
||||
@ -710,7 +710,7 @@ public class RecordedObject {
|
||||
* conversion
|
||||
*
|
||||
* @see #hasField(String)
|
||||
* @set #getValue(String)
|
||||
* @see #getValue(String)
|
||||
*/
|
||||
public final double getDouble(String name) {
|
||||
Object o = getValue(name);
|
||||
@ -755,7 +755,7 @@ public class RecordedObject {
|
||||
* isn't of type {@code String}
|
||||
*
|
||||
* @see #hasField(String)
|
||||
* @set #getValue(String)
|
||||
* @see #getValue(String)
|
||||
*/
|
||||
public final String getString(String name) {
|
||||
return getTypedValue(name, "java.lang.String");
|
||||
@ -782,7 +782,7 @@ public class RecordedObject {
|
||||
* value can't be converted to a {@code Duration} object
|
||||
*
|
||||
* @see #hasField(String)
|
||||
* @set #getValue(String)
|
||||
* @see #getValue(String)
|
||||
*/
|
||||
public final Duration getDuration(String name) {
|
||||
Object o = getValue(name);
|
||||
@ -813,7 +813,7 @@ public class RecordedObject {
|
||||
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 {
|
||||
@ -861,7 +861,7 @@ public class RecordedObject {
|
||||
* value can't be converted to an {@code Instant} object
|
||||
*
|
||||
* @see #hasField(String)
|
||||
* @set #getValue(String)
|
||||
* @see #getValue(String)
|
||||
*/
|
||||
public final Instant getInstant(String name) {
|
||||
Object o = getValue(name, true);
|
||||
@ -931,7 +931,7 @@ public class RecordedObject {
|
||||
* isn't of type {@code Class}
|
||||
*
|
||||
* @see #hasField(String)
|
||||
* @set #getValue(String)
|
||||
* @see #getValue(String)
|
||||
*/
|
||||
public final RecordedClass getClass(String name) {
|
||||
return getTypedValue(name, "java.lang.Class");
|
||||
@ -955,7 +955,7 @@ public class RecordedObject {
|
||||
* isn't of type {@code Thread}
|
||||
*
|
||||
* @see #hasField(String)
|
||||
* @set #getValue(String)
|
||||
* @see #getValue(String)
|
||||
*/
|
||||
public final RecordedThread getThread(String name) {
|
||||
return getTypedValue(name, "java.lang.Thread");
|
||||
|
@ -79,10 +79,10 @@ final class DCmdConfigure extends AbstractDCmd {
|
||||
", stackdepth=" + stackDepth +
|
||||
", globalbuffercount=" + globalBufferCount +
|
||||
", globalbuffersize=" + globalBufferSize +
|
||||
", thread_buffer_size" + threadBufferSize +
|
||||
", memorysize" + memorySize +
|
||||
", thread_buffer_size=" + threadBufferSize +
|
||||
", memorysize=" + memorySize +
|
||||
", maxchunksize=" + maxChunkSize +
|
||||
", samplethreads" + sampleThreads);
|
||||
", samplethreads=" + sampleThreads);
|
||||
}
|
||||
|
||||
|
||||
|
@ -79,7 +79,7 @@ final class DCmdDump extends AbstractDCmd {
|
||||
", maxage=" + maxAge +
|
||||
", maxsize=" + maxSize +
|
||||
", begin=" + begin +
|
||||
", end" + end +
|
||||
", end=" + end +
|
||||
", path-to-gc-roots=" + pathToGcRoots);
|
||||
}
|
||||
|
||||
|
@ -91,9 +91,9 @@ final class DCmdStart extends AbstractDCmd {
|
||||
", disk=" + disk+
|
||||
", filename=" + path +
|
||||
", maxage=" + maxAge +
|
||||
", flush=" + flush +
|
||||
", flush-interval=" + flush +
|
||||
", maxsize=" + maxSize +
|
||||
", dumponexit =" + dumpOnExit +
|
||||
", dumponexit=" + dumpOnExit +
|
||||
", path-to-gc-roots=" + pathToGcRoots);
|
||||
}
|
||||
if (name != null) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user