United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-6791795 : Java Console stack dump does not work in new Java Plug-In on Mac OS X

Details
Type:
Bug
Submit Date:
2009-01-08
Status:
Closed
Updated Date:
2010-09-08
Project Name:
JDK
Resolved Date:
2009-02-06
Component:
deploy
OS:
os_x
Sub-Component:
plugin
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
6u14
Fixed Versions:
6u14 (b01)

Related Reports

Sub Tasks

Description
The Java Console 'v' option to dump all threads' stacks does not work on Mac OS X due to differences in how the dynamic linker works on that platform compared to other Unix platforms. The libjvm.dylib already loaded by the current process can not be looked up via dlopen("libjvm.dylib").

                                    

Comments
SUGGESTED FIX

http://sa.sfbay.sun.com/projects/deployment_data/6u14/6791795.0
                                     
2009-01-09
EVALUATION

Simplified the Java Console's stack dump code to use
dlsym(RTLD_DEFAULT) rather than explicitly dlopen'ing libjvm.so. This
simplifies the code on all Unix platforms and also makes it work on
Mac OS X.

Tested manually on Mac OS X and Solaris/x86. No test case because we
do not test on Mac OS X.
                                     
2009-01-09



Hardware and Software, Engineered to Work Together