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

break points are not reported as expected

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.3.0
    • 1.3.0
    • vm-legacy
    • None
    • kestrel
    • sparc
    • solaris_7
    • Not verified

      This happens in Hotspot Performance Engine in 1.3 fcs M build.

      The number of Breakpoints hit is one more, than expected.

                 for(int i=0; i<10; i++){
      testMethod();
      }
               .
               :
               :

      public static void testMethod(){
                 System.out.println("I'm done");

      }
      When break point is set in testMethod
      10 break points are supposed to be hit instead of 11.

      This is reproducable using the debugger demo with the java file attached.
      Compile with -g option.

      jdb EventTest
      stop in EventTest.testMethod()
      run
      cont
      cont
      :
      till application ends.

      10 Breakpoints are reported in Classic as expected.

            pbk Peter Kessler
            sshakilasunw Shahulhameedmohaideenhaleema Shakila (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: