-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
1.3.0
-
generic
-
generic
Name: icC57033 Date: 12/23/99
classic VM 1.3fcs-R (both Solaris and WinNT) fails test
src/nsk/jvmdi/GetMonitorInfo/getmoninfo002
from
testbase_nsk
Hotspot VM passes the test.
To reproduce the bug run Korn shell script
doit.ksh <jdk_root_directory>
in
/net/sqesvr/vsn/GammaBase/Bugs/<this bug number>
Running on HS 1.3fcs-R the test outputs:
1) Solaris
-------------------------- java ---------------------------------
Setting getmoninfo002_EventHook as event hook.
######## JVMDI_EVENT_VM_INIT ########
can_watch_field_modification=0
can_watch_field_access=0
can_get_bytecodes=1
can_get_synthetic_attribute=1
can_get_owned_monitor_info=0
can_get_current_contended_monitor=0
can_get_monitor_info=0
######## JVMDI_EVENT_VM_DEATH ########
exit 95
-------------------------- java_g -------------------------------
Setting getmoninfo002_EventHook as event hook.
######## JVMDI_EVENT_VM_INIT ########
can_watch_field_modification=0
can_watch_field_access=0
can_get_bytecodes=1
can_get_synthetic_attribute=1
can_get_owned_monitor_info=0
can_get_current_contended_monitor=0
can_get_monitor_info=0
######## JVMDI_EVENT_VM_DEATH ########
exit 95
-------------------------- java -classic ------------------------
Setting getmoninfo002_EventHook as event hook.
######## JVMDI_EVENT_VM_INIT ########
can_watch_field_modification=1
can_watch_field_access=1
can_get_bytecodes=1
can_get_synthetic_attribute=0
can_get_owned_monitor_info=1
can_get_current_contended_monitor=1
can_get_monitor_info=1
Wrong results from GetMonitorInfo(NULL, &infoPtr)
error: JVMDI_ERROR_NONE
######## JVMDI_EVENT_VM_DEATH ########
exit 97
3) WinNT
-------------------------- java ---------------------------------
Setting getmoninfo002_EventHook as event hook.
######## JVMDI_EVENT_VM_INIT ########
can_watch_field_modification=0
can_watch_field_access=0
can_get_bytecodes=1
can_get_synthetic_attribute=1
can_get_owned_monitor_info=0
can_get_current_contended_monitor=0
can_get_monitor_info=0
######## JVMDI_EVENT_VM_DEATH ########
exit 95
-------------------------- java_g -------------------------------
Setting getmoninfo002_EventHook as event hook.
######## JVMDI_EVENT_VM_INIT ########
can_watch_field_modification=0
can_watch_field_access=0
can_get_bytecodes=1
can_get_synthetic_attribute=1
can_get_owned_monitor_info=0
can_get_current_contended_monitor=0
can_get_monitor_info=0
######## JVMDI_EVENT_VM_DEATH ########
exit 95
-------------------------- java -classic ------------------------
Setting getmoninfo002_EventHook as event hook.
######## JVMDI_EVENT_VM_INIT ########
can_watch_field_modification=1
can_watch_field_access=1
can_get_bytecodes=1
can_get_synthetic_attribute=0
can_get_owned_monitor_info=1
can_get_current_contended_monitor=1
can_get_monitor_info=1
Wrong results from GetMonitorInfo(NULL, &infoPtr)
error: JVMDI_ERROR_NONE
######## JVMDI_EVENT_VM_DEATH ########
exit 97
======================================================================
- duplicates
-
JDK-4313315 JVMDI: some JVMDI functions do not verify actual params
-
- Closed
-