Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-1253347

Profiler in release 1.0.2 truncates class names.

XMLWordPrintable

    • 1.1
    • sparc
    • solaris_2.5
    • Not verified

      In JDK 1.0 if you ran a program with the command

      java -prof HelloWord

      You would get a complete list in java.prof that has the
      following format:

      count callee caller time
      for example:

      2 java/io/PrintStream.println(Ljava/lang/String;)V HelloWorld.main([Ljava/lang/String;)V 4

      In version 1.0.2, this is broken because both the callee and the caller
      are terminated at 36 characters. This makes the output useless.
      Here is an example:

      244 java/util/VectorEnumerator.hasMoreE sun/awt/image/ImageWatched.newInfo( 1

      Notice how the callee and the caller output just stop.

            tlindholsunw Timothy Lindholm (Inactive)
            tkincaidsunw Tom Kincaid (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: