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

HotSpot Client VM loses the JVMDI_EVENT_BREAKPOINT events on win32

XMLWordPrintable

    • x86
    • windows_nt



      Name: dkC59003 Date: 01/10/2000


      The regression test (testbase_nsk) nsk/regression/b4289162 fails
      under the HotSpot Client VM (build 1.3-R) on win32.

      The test sets breakpoint in the emptyMethod() method which is called in loop
      (5 times). When the breakpoint is caught for the first time the test
      enables the JVMDI_EVENT_SINGLE_STEP event and when
      this event is caught the test disables the JVMDI_EVENT_SINGLE_STEP
      event . After this the JVMDI_EVENT_BREAKPOINT events are not sent any more.

      The same happens for not-empty method.

      To reproduce the bug run doit.bat on win32 in
      /net/sqesvr/vsn/GammaBase/Bugs/<this bug number>.

      The first parameter for doit.bat should be JDK root directory
      (e.g. L:/java/jdk1.3/win32) and the other parameter(s) -
      VM option(s) (optional).

      The Classic VM runs the test perfectly.

      See log:

      % doit.bat d:/export/java/jdk1.3.0R/win32
      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-R)
      Java HotSpot(TM) Client VM (build 1.3-R, mixed mode)
      ----> Test nsk/regression/4289162 FAILED
      ----> Expected result: breakpoint_counter = 5
      ----> Set_EVENT_SINGLE_STEP = MADE
      ----> UnSet_EVENT_SINGLE_STEP = MADE
      ----> EVENT_SINGLE_STEP_catch_counter = 1
      ----> Produced result: breakpoint_counter = 1
      ----> Set_EVENT_SINGLE_STEP = MADE
      ----> UnSet_EVENT_SINGLE_STEP = MADE
      ----> EVENT_SINGLE_STEP_catch_counter = 1


      % doit.bat d:/export/java/jdk1.3.0R/win32 -classic
      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-R)
      Classic VM (build 1.3.0-R, native threads, nojit)
      ----> Test nsk/regression/4289162 PASSED
      ----> Produced (expected) result: breakpoint_counter = 5
      ----> Set_EVENT_SINGLE_STEP = MADE
      ----> UnSet_EVENT_SINGLE_STEP = MADE
      ----> EVENT_SINGLE_STEP_catch_counter = 1


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

            dcubed Daniel Daugherty
            dkhukhrosunw Dmitry Khukhro (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: