JDK-4338501 : "fast breakpoints" are broken
  • Type: Bug
  • Component: vm-legacy
  • Sub-Component: jvmdi
  • Affected Version: 1.3.0
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_7
  • CPU: sparc
  • Submitted: 2000-05-16
  • Updated: 2000-05-18
  • Resolved: 2000-05-18
Related Reports
Duplicate :  
Description

Name: icR10030			Date: 05/16/2000



The HotSpot Client VM (Solaris_JDK_1.3-b15, build 1.3-internal) fails the tests
	nsk/jvmdi/ClearBreakpoint/clrbrk001
	nsk/regression/b4289109
	nsk/regression/b4289162
from 
	testbase_nsk 

See comments from ###@###.###:
"...
For the breakpoint related tests, these are failing because we fixed
a different bug on Solaris (where UseFastBreakpoints is enabled). I
looked into UseFastBreakpoints on Friday before I left CA. I don't
like what I see and I'm going to ask about disabling the feature on
Solaris until I'm happy with it. Please file a new "fast breakpoints"
are broken as a P3 including the following tests:

    nsk/jvmdi/ClearBreakpoint/clrbrk001
    nsk/regression/b4289109
    nsk/regression/b4289162

Normally, I would file regressions as P2, but when UseFastBreakpoints
is disabled, I expect these tests to pass.
..."

To reproduce the bug run 
doit.ksh <jdk root directory>
in
/net/sqesvr/vsn/GammaBase/Bugs/<this bug number>

The test produces the output:

java version "1.3"
Java(TM) 2 Runtime Environment, Standard Edition (build Solaris_JDK_1.3-b15)
Java HotSpot(TM) Client VM (build 1.3-internal, mixed mode)
------------------------ java -------------------------------
/export/ld24/java/hotspot/Solaris_JDK_1.3-b15-dan/bin/java -Xdebug -Xnoagent 
-Xrunclrbrk001 clrbrk001
Setting clrbrk001_EventHook as event hook.
######## JVMDI_EVENT_VM_INIT ########
JVMDI_EVENT_BREAKPOINT count:
Expected 2
Actual   1
######## JVMDI_EVENT_VM_DEATH ########
exit 97
------------------------ java_g ---------------------------------
/export/ld24/java/hotspot/Solaris_JDK_1.3-b15-dan/bin/java_g -Xdebug -Xnoagent 
-Xrunclrbrk001 clrbrk001
Setting clrbrk001_EventHook as event hook.
######## JVMDI_EVENT_VM_INIT ########
JVMDI_EVENT_BREAKPOINT count:
Expected 2
Actual   1
######## JVMDI_EVENT_VM_DEATH ########
exit 97
------------------------ java -classic --------------------------
/export/ld24/java/hotspot/Solaris_JDK_1.3-b15-dan/bin/java -classic -Xdebug 
-Xnoagent -Xrunclrbrk001 clrbrk001
Setting clrbrk001_EventHook as event hook.
######## JVMDI_EVENT_VM_INIT ########
JVMDI_EVENT_BREAKPOINT count:
Expected 40000
Actual   40000
######## JVMDI_EVENT_VM_DEATH ########
exit 95

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

Comments
EVALUATION daniel.daugherty@Eng 2000-05-18 With the fix for 4337667 in place, both b4289109 and clrbrk001 pass. With the fix for 4338874 in place, b4289162 passes. I'm closing this bug as a duplicate of 4337667.
18-05-2000