-
Bug
-
Resolution: Fixed
-
P3
-
1.3.0
-
kestrel
-
x86
-
windows_nt
-
Not verified
Name: dkC59003 Date: 12/06/99
The HotSpot 1.3fcs-P (internal build of 12/02) JVMPI function
EnableEvent fails to enable JVMPI_EVENT_INSTRUCTION_START event, even
when -XX:+EnableJVMPIInstructionStartEvent flag is passed.
The function returns JVMPI_NOT_AVAILABLE value.
This limits Jcov code coverage tool functionality: without the event
enabled (generated) Jcov is not able to get block/branch coverage information.
I guess the problem is caused by that jvmpi::initialize() function
does not invoke disable_event for JVMPI_EVENT_INSTRUCTION_START event.
To reproduce the bug run doit.bat <jdk root directory> in
GammaBase/Bugs/<this bug number>
VM flag can be given in the script's second parameter like this:
doit.bat <jdk root directory> -XX:+EnableJVMPIInstructionStartEvent
The test outputs:
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-P)
Java HotSpot(TM) Client VM (build 1.3-internal, mixed mode)
Built on Dec 2 1999 11:42:24 by srdjan with "MS VC++ 6.0"
VM option '+EnableJVMPIInstructionStartEvent'
Can not enable JVMPI_EVENT_INSTRUCTION_START: 1
======================================================================
- relates to
-
JDK-4298037 JVMPI: JVMPI_EVENT_INSTRUCTION_START events are not generated
- Closed
-
JDK-4297939 JVMPI_EVENT_INSTRUCTION_START events are not generated
- Closed
-
CODETOOLS-7900362 HS1.4.0: JCOV error: "cannot enable JVMPI event : JVMPI_EVENT_INSTRUCTION_START"
- Closed