< prev index next >

src/jdk.jfr/share/classes/jdk/jfr/internal/tool/PrettyWriter.java

Print this page
*** 538,11 ***
      }
  
      private void printThread(RecordedThread thread, String postFix) {
          long javaThreadId = thread.getJavaThreadId();
          if (javaThreadId > 0) {
!             println("\"" + thread.getJavaName() + "\" (javaThreadId = " + thread.getJavaThreadId() + ")" + postFix);
          } else {
              println("\"" + thread.getOSName() + "\" (osThreadId = " + thread.getOSThreadId() + ")" + postFix);
          }
      }
  
--- 538,11 ---
      }
  
      private void printThread(RecordedThread thread, String postFix) {
          long javaThreadId = thread.getJavaThreadId();
          if (javaThreadId > 0) {
!             println("\"" + thread.getJavaName() + "\" (javaThreadId = " + thread.getJavaThreadId() + ", virtual = " + thread.isVirtual() + ")" + postFix);
          } else {
              println("\"" + thread.getOSName() + "\" (osThreadId = " + thread.getOSThreadId() + ")" + postFix);
          }
      }
  
< prev index next >