United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 7163117 MAC: CR 7130404 affected SA on Mac OSX so now BSD provider can't recognize cpu arch
7163117 : MAC: CR 7130404 affected SA on Mac OSX so now BSD provider can't recognize cpu arch

Details
Type:
Bug
Submit Date:
2012-04-20
Status:
Closed
Updated Date:
2013-04-30
Project Name:
JDK
Resolved Date:
2012-05-29
Component:
hotspot
OS:
os_x
Sub-Component:
svc
CPU:
x86
Priority:
P3
Resolution:
Fixed
Affected Versions:
hs23,7u4
Fixed Versions:
hs24

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

Sub Tasks

Description
After CR 7130404 'os.arch' value for JDK 7u5 b02 on macosx became x86_64, but BSD provider rejects any attempts to setup debugger if cpu is not 'x86' or 'amd64':

/export/jdk/jdk1.7.0_05b02/bin/jstack -m $PID
Attaching to process ID 63355, please wait...
Error attaching to process: Bsd only supported on x86/amd64

but with JDK 7u5 b01:
/export/jdk/jdk1.7.0_05b02/bin/jstack -m $PID
Attaching to process ID 63355, please wait...
attach: task_for_pid(63355) failed (5)
Error attaching to process: sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the process

Issue was first introduced in JDK 7u4-b20.

In case if BSD SA provider will be used with macosx it should recognize x86_64 cpu arch name.

                                    

Comments
EVALUATION

http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/78d2ae5ab35b
                                     
2012-06-29
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-main/hotspot/rev/78d2ae5ab35b
                                     
2012-05-23
EVALUATION

http://hg.openjdk.java.net/hsx/hsx23.2/hotspot/rev/1fcba869fe4a
                                     
2012-05-10
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-rt/hotspot/rev/78d2ae5ab35b
                                     
2012-05-09



Hardware and Software, Engineered to Work Together