src/jdk.jfr/share/classes/jdk/jfr/internal/PlatformRecording.java
changeset 53013 c8b2a408628b
parent 52413 6372f5af9612
child 55256 3b22c7e00573
child 57360 5d043a159d5c
child 58678 9cf78a70fa4f
equal deleted inserted replaced
53012:c1eed9867bf0 53013:c8b2a408628b
   121                 }
   121                 }
   122                 if (maxAge != null) {
   122                 if (maxAge != null) {
   123                     options.add("maxage=" + Utils.formatTimespan(maxAge, ""));
   123                     options.add("maxage=" + Utils.formatTimespan(maxAge, ""));
   124                 }
   124                 }
   125                 if (maxSize != 0) {
   125                 if (maxSize != 0) {
   126                     options.add("maxsize=" + Utils.formatBytes(maxSize, ""));
   126                     options.add("maxsize=" + Utils.formatBytesCompact(maxSize));
   127                 }
   127                 }
   128                 if (dumpOnExit) {
   128                 if (dumpOnExit) {
   129                     options.add("dumponexit=true");
   129                     options.add("dumponexit=true");
   130                 }
   130                 }
   131                 if (duration != null) {
   131                 if (duration != null) {