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.
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.
- relates to
-
JDK-4278333 Regression test com/sun/jdi/StepTest.java Failing
-
- Closed
-
-
JDK-4294585 HotSpot 1.3fcs-P generates unexpected JVMDI_EVENT_BREAKPOINT events on Solaris
-
- Closed
-