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

Error by using the profiler with some options (-Xrunhprof).

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.0.1, 1.3.0
    • vm-legacy
    • x86
    • windows_98, windows_2000



      Name: yyT116575 Date: 10/12/2000


      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
      Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)

      1. By executing the following:
      java -Xrunhprof:monitor=y,thread=y,cpu=times

      2. This happend in my case with/without specifying a class.

      3. Dumping contended monitor usage ...#
      # HotSpot Virtual Machine Error, Internal Error
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # Error happened during: post JVMPI VM death event
      #
      # Error ID: 564D3448524541440E435050029F
      #

      abnormal program termination

      4. none
      5. System: Microsoft Windows 98 4.10.1998
      (Review ID: 110490)
      ======================================================================

      Name: rmT116609 Date: 10/26/2000


      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
      Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)

      Executing the following program:

      public class ThreadTest implements Runnable {

        public static void main(String[] args) {
          ThreadTest tt = new ThreadTest();
          Thread t1 = new Thread(tt, "First");
          t1.setDaemon(true);
          Thread t2 = new Thread(tt, "Second");
          t2.setDaemon(true);
          t1.start();
          t2.start();
          try {
            Thread.sleep(2000);
          } catch (Exception e) {};
          synchronized (tt) {
            tt.notify();
          }
          try {Thread.sleep(2000);} catch (Exception e) {};
        }

        public synchronized void run() {
          try {
            wait();
          } catch (InterruptedException ie) {};
          sleepAWhile(5000);
        }

        protected synchronized void sleepAWhile(long time) {
          try {
            Thread.sleep(time);
          } catch (Exception e) {};
        }

      }


      using the command line:

        java -Xrunhprof:monitor=y ThreadTest

      on Windows 2000 Professional yields this error message:

      Dumping contended monitor usage ...#
      # HotSpot Virtual Machine Error, Internal Error
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # Error happened during: post JVMPI VM death event
      #
      # Error ID: 564D3448524541440E435050029F
      #

      abnormal program termination



      The error message does not occur when not using HPROF, nor when using the -
      classic option.
      (Review ID: 111424)
      ======================================================================

            dcubed Daniel Daugherty
            yyoungsunw Yung-ching Young (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: