-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
5.0
-
generic
-
generic
Name: pvR10198 Date: 02/09/2004
---------------------------------------------------
Test : nsk/jvmti/VMObjectAlloc/vmobjalloc001
VM : java_g
Mode : all
Platform : generic
OS : generic
JDK : 1.5.0
---------------------------------------------------
The test exercises JVMTI event callback function VMObjectAlloc.
The test enables the event and counts a number of received events.
There is no guarantee that VM allocates any special objects, so if
no JVMTI_EVENT_VM_OBJECT_ALLOC has been received then the test
just prints warning message and passes anyway.
To reproduce the test failure run doit.sh script in
GammaBase/Bugs/<this bug number> directory:
sh doit.sh <JAVA_HOME> -g <java_options>
Running the test outputs:
$ sh doit.sh $JDK15/solsparc -g -v
- vmobjalloc001.c, 96: Timeout: 120000 msc
- vmobjalloc001.c, 52: VMObjectAlloc: "Ljava/security/AccessControlContext;", size=6
- vmobjalloc001.c, 52: VMObjectAlloc: "Ljava/security/AccessControlContext;", size=6
- vmobjalloc001.c, 52: VMObjectAlloc: "Ljava/security/AccessControlContext;", size=6
java version "1.5.0-beta2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta2-b37)
Java HotSpot(TM) Client VM (build 1.5.0-beta2-b37-debug, mixed mode)
- vmobjalloc001.c, 52: VMObjectAlloc: "[C", size=4
- vmobjalloc001.c, 52: VMObjectAlloc: "Ljava/lang/String;", size=6
- vmobjalloc001.c, 52: VMObjectAlloc: "[C", size=4
- vmobjalloc001.c, 52: VMObjectAlloc: "Ljava/lang/String;", size=6
- vmobjalloc001.c, 52: VMObjectAlloc: "[C", size=4
- vmobjalloc001.c, 52: VMObjectAlloc: "Ljava/lang/String;", size=6
- vmobjalloc001.c, 52: VMObjectAlloc: "[Ljava/lang/reflect/Constructor;", size=8
- vmobjalloc001.c, 52: VMObjectAlloc: "[Ljava/lang/Class;", size=4
- vmobjalloc001.c, 52: VMObjectAlloc: "Ljava/lang/reflect/Constructor;", size=18
- vmobjalloc001.c, 52: VMObjectAlloc: "[Ljava/lang/Class;", size=6
- vmobjalloc001.c, 52: VMObjectAlloc: "Ljava/lang/reflect/Constructor;", size=18
- vmobjalloc001.c, 52: VMObjectAlloc: "[Ljava/lang/Class;", size=6
- vmobjalloc001.c, 52: VMObjectAlloc: "Ljava/lang/reflect/Constructor;", size=18
- vmobjalloc001.c, 52: VMObjectAlloc: "[Ljava/lang/Class;", size=10
- vmobjalloc001.c, 52: VMObjectAlloc: "Ljava/lang/reflect/Constructor;", size=18
- vmobjalloc001.c, 52: VMObjectAlloc: "[Ljava/lang/Class;", size=4
- vmobjalloc001.c, 52: VMObjectAlloc: "[Ljava/lang/Class;", size=6
- vmobjalloc001.c, 52: VMObjectAlloc: "[Ljava/lang/Class;", size=6
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc: SuppressErrorAt=/javaClasses.cpp:318]
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# Internal Error (/BUILD_AREA/jdk1.5.0/hotspot/src/share/vm/memory/javaClasses.cpp, 318 [ Patched ]), pid=13431, tid=1
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0-beta2-b37-debug mixed mode)
#
# Error: assert((k != 0) == (SystemDictionary::java_mirror_type(java_class) == T_OBJECT),"Consistency check")
# An error report file with more information is saved as hs_err_pid13431.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
Current thread is 1
Dumping core ...
Abort
Exit Code: 134
======================================================================
- duplicates
-
JDK-4983386 VMObjectAlloc event is broken
- Closed