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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 6
    • Affects Version/s: 6
    • Component/s: 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);
             }
      }

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: