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

AsyncGetCallTrace returns zero frames when in SharedRuntime::dsin()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 6
    • vm-legacy
    • None
    • mustang
    • generic, sparc
    • generic, solaris_8

      When a Java program is in java.lang.Math.sin() ( actually SharedRuntime::dsin() ) AsyncGetCallTrace is unable to trace the Java callstack and returns zero
      frames.

      % cat foo.java
      public class foo {
             public static void main(String args[]) {
                     int i;
                     double a = 0.0;

                     for (i = 0; i < 10000000; i++)
                             a += 0.001 * java.lang.Math.sin(0.001 * i);

                     System.out.println(a);
             }
      }

            dcubed Daniel Daugherty
            omazurov Oleg Mazurov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: