-
Bug
-
Resolution: Fixed
-
P4
-
2.0, 1.3.0
-
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.
======================================================================
- duplicates
-
JDK-4303298 Duplicate breakpoint reporting in JVMDI causes wrong JDI counted bp behavior
-
- Closed
-
-
JDK-4301846 Two breakpoints hit for a single BreakpointRequest for Method.
-
- Closed
-
- relates to
-
JDK-4289109 break points are not reported as expected
-
- Closed
-
-
JDK-4298263 JVMDI: HotSparc VM crashes when JVMDI_EVENT_SINGLE_STEP is set after BREAKPOINT
-
- Closed
-
-
JDK-4337667 crash (sig 11) on second invocation of a breakpoint
-
- Closed
-
-
JDK-4300914 Test nsk/regression/4289162 FAILED
-
- Closed
-
(1 relates to)