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

HotSpot 1.3fcs-P generates unexpected JVMDI_EVENT_BREAKPOINT events on Solaris

XMLWordPrintable

    • sol-beta
    • generic, sparc
    • generic, solaris_7
    • Not verified



      Name: dkC59003 Date: 11/24/99


      The regression test (testbase_nsk) nsk/regression/b4289109 fails
      under the HotSpot 1.3fcs-P on Solaris.
      The expected result of the test is 10 JVMDI_EVENT_BREAKPOINT events,
      but the produced result is 21 JVMDI_EVENT_BREAKPOINT events.
      To reproduce the bug run doit.sh in
      GammaBase/Bugs/<this bug number>.

      See logs:

      % java -version
      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-O)
      Java HotSpot(TM) Client VM (build 1.3-P, interpreted mode)
      novo73% java -Xdebug -Xnoagent -Xrunb4289109 b4289109
      ----> breakpoint_init: breakpoint is set for b4289109.testMethod()
      ----> catch_braekpoint: breakpoint_counter = 1
      ----> catch_braekpoint: breakpoint_counter = 2
      ----> catch_braekpoint: breakpoint_counter = 3
      ----> testMethod: testMethod_call_counter = 1
      ----> catch_braekpoint: breakpoint_counter = 4
      ----> catch_braekpoint: breakpoint_counter = 5
      ----> testMethod: testMethod_call_counter = 2
      ----> catch_braekpoint: breakpoint_counter = 6
      ----> catch_braekpoint: breakpoint_counter = 7
      ----> testMethod: testMethod_call_counter = 3
      ----> catch_braekpoint: breakpoint_counter = 8
      ----> catch_braekpoint: breakpoint_counter = 9
      ----> testMethod: testMethod_call_counter = 4
      ----> catch_braekpoint: breakpoint_counter = 10
      ----> catch_braekpoint: breakpoint_counter = 11
      ----> testMethod: testMethod_call_counter = 5
      ----> catch_braekpoint: breakpoint_counter = 12
      ----> catch_braekpoint: breakpoint_counter = 13
      ----> testMethod: testMethod_call_counter = 6
      ----> catch_braekpoint: breakpoint_counter = 14
      ----> catch_braekpoint: breakpoint_counter = 15
      ----> testMethod: testMethod_call_counter = 7
      ----> catch_braekpoint: breakpoint_counter = 16
      ----> catch_braekpoint: breakpoint_counter = 17
      ----> testMethod: testMethod_call_counter = 8
      ----> catch_braekpoint: breakpoint_counter = 18
      ----> catch_braekpoint: breakpoint_counter = 19
      ----> testMethod: testMethod_call_counter = 9
      ----> catch_braekpoint: breakpoint_counter = 20
      ----> catch_braekpoint: breakpoint_counter = 21
      ----> testMethod: testMethod_call_counter = 10
      ----> Test nsk/regression/4289109 FAILED
      ----> Expected result: breakpoint_counter = 10
      ----> Produced result: breakpoint_counter = 21

      The produced result under HotSpot 2.0beta-A on Solaris is 1 JVMDI_EVENT_BREAKPOINT
      event instead of 10 events:

      novo73% java -version
      java version "1.2.2"
      Java(TM) HotSpot Server VM (2.0, mixed mode, build A)
      novo73% java -Xdebug -Xnoagent -Xrunb4289109 b4289109
      ----> breakpoint_init: breakpoint is set for b4289109.testMethod()
      ----> catch_braekpoint: breakpoint_counter = 1
      ----> testMethod: testMethod_call_counter = 1
      ----> testMethod: testMethod_call_counter = 2
      ----> testMethod: testMethod_call_counter = 3
      ----> testMethod: testMethod_call_counter = 4
      ----> testMethod: testMethod_call_counter = 5
      ----> testMethod: testMethod_call_counter = 6
      ----> testMethod: testMethod_call_counter = 7
      ----> testMethod: testMethod_call_counter = 8
      ----> testMethod: testMethod_call_counter = 9
      ----> testMethod: testMethod_call_counter = 10
      ----> Test nsk/regression/4289109 FAILED
      ----> Expected result: breakpoint_counter = 10
      ----> Produced result: breakpoint_counter = 1

      The Classic VM (Solaris) passes the test as well as
      HotSpot 2.0rc1-E and 1.3fcs-P on win32.

      NOTES.
         The test has been developed on the base of the 4289109 bugreport
         (4289109 (P3/S3) break points are not reported as expected).
         According to the current state of bugreport this bug had been fixed and
         integrated in kestrel release on Nov 10 1999 10:14AM.
         

      ======================================================================

            jmasa Jon Masamitsu (Inactive)
            dkhukhrosunw Dmitry Khukhro (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: