United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7171422 Change 7161732 breaks SA on Windows
JDK-7171422 : Change 7161732 breaks SA on Windows

Details
Type:
Bug
Submit Date:
2012-05-24
Status:
Resolved
Updated Date:
2013-09-04
Project Name:
JDK
Resolved Date:
2012-06-02
Component:
hotspot
OS:
windows
Sub-Component:
svc
CPU:
generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
7u6
Fixed Versions:
hs24 (b13)

Related Reports
Backport:
Backport:
Backport:
Backport:
Relates:

Sub Tasks

Description
Since change 7161732 (Improve handling of thread_id in OSThread), most of the sajdi tests on Windows fails with:

Attaching to target VM
 # ERROR: IOException while attaching with sun.jvm.hotspot.jdi.SACoreAttachingConnector:
 # ERROR: 	java.io.IOException
 java.io.IOException
 	at sun.jvm.hotspot.jdi.SACoreAttachingConnector.attach(SACoreAttachingConnector.java:139)
 	at nsk.sajdi.SACoreAttachingConnector.attach.attach001.runIt(attach001.java:74)
 	at nsk.sajdi.SACoreAttachingConnector.attach.attach001.run(attach001.java:26)
 	at nsk.sajdi.SACoreAttachingConnector.attach.attach001.main(attach001.java:21)
 Caused by: java.lang.reflect.InvocationTargetException
 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 	at java.lang.reflect.Method.invoke(Method.java:601)
 	at sun.jvm.hotspot.jdi.SACoreAttachingConnector.createVirtualMachine(SACoreAttachingConnector.java:96)
 	at sun.jvm.hotspot.jdi
 .SACoreAttachingConnector.attach(SACoreAttachingConnector.java:124)
 	... 3 more
 Caused by: java.lang.RuntimeException: No type named "OSThread::thread_id_t" in database
 	at sun.jvm.hotspot.types.basic.BasicTypeDataBase.lookupType(BasicTypeDataBase.java:80)
 	at sun.jvm.hotspot.HotSpotTypeDataBase.lookupType(HotSpotTypeDataBase.java:133)
 	at sun.jvm.hotspot.types.basic.BasicTypeDataBase.lookupType(BasicTypeDataBase.java:74)
 	at sun.jvm.hotspot.HotSpotTypeDataBase.readVMStructs(HotSpotTypeDataBase.java:449)
 	at sun.jvm.hotspot.HotSpotTypeDataBase.<init>(HotSpotTypeDataBase.java:87)
 	at sun.jvm.hotspot.HotSpotAgent.setupVM(HotSpotAgent.java:389)
 	at sun.jvm.hotspot.HotSpotAgent.go(HotSpotAgent.java:314)
 	at sun.jvm.hotspot.HotSpotAgent.attach(HotSpotAgent.java:173)
 	at sun.jvm.hotspot.jdi.VirtualMachineImpl.createVirtualMachineForCorefile(VirtualMachineImpl.java:206)
 	... 9 more
Since change 7161732, most of the sajdi tests on Windows fail with:

Attaching to target VM
 # ERROR: IOException while attaching with sun.jvm.hotspot.jdi.SACoreAttachingConnector:
 # ERROR: 	java.io.IOException
 java.io.IOException
 	at sun.jvm.hotspot.jdi.SACoreAttachingConnector.attach(SACoreAttachingConnector.java:139)
 	at nsk.sajdi.SACoreAttachingConnector.attach.attach001.runIt(attach001.java:74)
 	at nsk.sajdi.SACoreAttachingConnector.attach.attach001.run(attach001.java:26)
 	at nsk.sajdi.SACoreAttachingConnector.attach.attach001.main(attach001.java:21)
 Caused by: java.lang.reflect.InvocationTargetException
 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 	at java.lang.reflect.Method.invoke(Method.java:601)
 	at sun.jvm.hotspot.jdi.SACoreAttachingConnector.createVirtualMachine(SACoreAttachingConnector.java:96)
 	at sun.jvm.hotspot.jdi
 .SACoreAttachingConnector.attach(SACoreAttachingConnector.java:124)
 	... 3 more
 Caused by: java.lang.RuntimeException: No type named "OSThread::thread_id_t" in database
 	at sun.jvm.hotspot.types.basic.BasicTypeDataBase.lookupType(BasicTypeDataBase.java:80)
 	at sun.jvm.hotspot.HotSpotTypeDataBase.lookupType(HotSpotTypeDataBase.java:133)
 	at sun.jvm.hotspot.types.basic.BasicTypeDataBase.lookupType(BasicTypeDataBase.java:74)
 	at sun.jvm.hotspot.HotSpotTypeDataBase.readVMStructs(HotSpotTypeDataBase.java:449)
 	at sun.jvm.hotspot.HotSpotTypeDataBase.<init>(HotSpotTypeDataBase.java:87)
 	at sun.jvm.hotspot.HotSpotAgent.setupVM(HotSpotAgent.java:389)
 	at sun.jvm.hotspot.HotSpotAgent.go(HotSpotAgent.java:314)
 	at sun.jvm.hotspot.HotSpotAgent.attach(HotSpotAgent.java:173)
 	at sun.jvm.hotspot.jdi.VirtualMachineImpl.createVirtualMachineForCorefile(VirtualMachineImpl.java:206)
 	... 9 more

                                    

Comments
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-rt/hotspot/rev/df84b4a3ebcb
                                     
2012-05-24
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-main/hotspot/rev/df84b4a3ebcb
                                     
2012-05-30
EVALUATION

http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/df84b4a3ebcb
                                     
2012-06-29



Hardware and Software, Engineered to Work Together