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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 6
    • Fix Version/s: 6
    • Component/s: vm-legacy
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      mustang
    • CPU:
      generic, sparc
    • OS:
      generic, solaris_8

      Description

      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);
             }
      }

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: