The test:
sun/tools/jinfo/Basic.sh
uses 32-bit java and jinfo for solaris 64bit java. It causes exception in jinfo. All works fine if option -d64 is used. Test should pass options given by ute/gtee to testsed java.
It fails on PIT in /net/sqenfs-1.sfbay/export1/comp/vm/jdk/hsx/16/pit/b08/jdk6u18b01.
http://sqeweb.sfbay.sun.com/nfs/results/vm/gtee/JDK6UR/PIT/VM/16/b08/jdk6u18b01/product/javase/solaris-amd64/server/comp/solaris-amd64_server_comp_MISC_REGRESSION/workDir/sun/tools/jinfo/Basic.jtr
Here is outout:
/net/sqenfs-1.sfbay/export1/comp/vm/jdk/hsx/16/pit/b08/jdk6u18b01/fastdebug/solaris-sparcv9/bin/jinfo 6838
Attaching to process ID 6838, please wait...
WARNING: Hotspot VM version 14.0-b16-fastdebug does not match with SA version 16.0-b08-2009-08-15-001543.et151817.hs16b08. You may see unexpected results.
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.tools.jinfo.JInfo.runTool(JInfo.java:79)
at sun.tools.jinfo.JInfo.main(JInfo.java:53)
Caused by: java.lang.ExceptionInInitializerError
at sun.jvm.hotspot.runtime.VM.initialize(VM.java:356)
at sun.jvm.hotspot.bugspot.BugSpotAgent.setupVM(BugSpotAgent.java:594)
at sun.jvm.hotspot.bugspot.BugSpotAgent.go(BugSpotAgent.java:494)
at sun.jvm.hotspot.bugspot.BugSpotAgent.attach(BugSpotAgent.java:332)
at sun.jvm.hotspot.tools.Tool.start(Tool.java:163)
at sun.jvm.hotspot.tools.JInfo.main(JInfo.java:128)
... 6 more
Caused by: java.lang.RuntimeException: field "_narrow_oop._base" not found in type Universe
at sun.jvm.hotspot.types.basic.BasicType.getField(BasicType.java:183)
at sun.jvm.hotspot.types.basic.BasicType.getField(BasicType.java:190)
at sun.jvm.hotspot.types.basic.BasicType.getField(BasicType.java:194)
at sun.jvm.hotspot.types.basic.BasicType.getAddressField(BasicType.java:282)
at sun.jvm.hotspot.memory.Universe.initialize(Universe.java:90)
at sun.jvm.hotspot.memory.Universe.access$000(Universe.java:37)
at sun.jvm.hotspot.memory.Universe$1.update(Universe.java:62)
at sun.jvm.hotspot.runtime.VM.registerVMInitializedObserver(VM.java:373)
at sun.jvm.hotspot.memory.Universe.<clinit>(Universe.java:60)
... 12 more
sun/tools/jinfo/Basic.sh
uses 32-bit java and jinfo for solaris 64bit java. It causes exception in jinfo. All works fine if option -d64 is used. Test should pass options given by ute/gtee to testsed java.
It fails on PIT in /net/sqenfs-1.sfbay/export1/comp/vm/jdk/hsx/16/pit/b08/jdk6u18b01.
http://sqeweb.sfbay.sun.com/nfs/results/vm/gtee/JDK6UR/PIT/VM/16/b08/jdk6u18b01/product/javase/solaris-amd64/server/comp/solaris-amd64_server_comp_MISC_REGRESSION/workDir/sun/tools/jinfo/Basic.jtr
Here is outout:
/net/sqenfs-1.sfbay/export1/comp/vm/jdk/hsx/16/pit/b08/jdk6u18b01/fastdebug/solaris-sparcv9/bin/jinfo 6838
Attaching to process ID 6838, please wait...
WARNING: Hotspot VM version 14.0-b16-fastdebug does not match with SA version 16.0-b08-2009-08-15-001543.et151817.hs16b08. You may see unexpected results.
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.tools.jinfo.JInfo.runTool(JInfo.java:79)
at sun.tools.jinfo.JInfo.main(JInfo.java:53)
Caused by: java.lang.ExceptionInInitializerError
at sun.jvm.hotspot.runtime.VM.initialize(VM.java:356)
at sun.jvm.hotspot.bugspot.BugSpotAgent.setupVM(BugSpotAgent.java:594)
at sun.jvm.hotspot.bugspot.BugSpotAgent.go(BugSpotAgent.java:494)
at sun.jvm.hotspot.bugspot.BugSpotAgent.attach(BugSpotAgent.java:332)
at sun.jvm.hotspot.tools.Tool.start(Tool.java:163)
at sun.jvm.hotspot.tools.JInfo.main(JInfo.java:128)
... 6 more
Caused by: java.lang.RuntimeException: field "_narrow_oop._base" not found in type Universe
at sun.jvm.hotspot.types.basic.BasicType.getField(BasicType.java:183)
at sun.jvm.hotspot.types.basic.BasicType.getField(BasicType.java:190)
at sun.jvm.hotspot.types.basic.BasicType.getField(BasicType.java:194)
at sun.jvm.hotspot.types.basic.BasicType.getAddressField(BasicType.java:282)
at sun.jvm.hotspot.memory.Universe.initialize(Universe.java:90)
at sun.jvm.hotspot.memory.Universe.access$000(Universe.java:37)
at sun.jvm.hotspot.memory.Universe$1.update(Universe.java:62)
at sun.jvm.hotspot.runtime.VM.registerVMInitializedObserver(VM.java:373)
at sun.jvm.hotspot.memory.Universe.<clinit>(Universe.java:60)
... 12 more