Red Hat Bugzilla – Bug 497191
Profiler not available
Last modified: 2009-06-02 10:31:18 EDT
Created attachment 340781 [details]
Description of problem:
On x86_64, JFluid is not available through VisualVM.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install openjdk-devel
2. Run VisualVM, which shows an error about the missing profiler
There are indications that this would work on the i586 architecture.
VisualVM profiler is available.
See error log.
This is unusual. I cannot reproduce it.
can you try removing ~/.visualvm and trying again?
That did not fix it. It looks like it's a 64bit-only issue.
See org.netbeans.lib.profiler.global.Platform.getAgentNativeLibFullName(), which appends procArch = "amd64" to the path (on Linux i586, it appends nothing) which becomes /lib/visualvm/profiler3/lib/deployed/jdk16/linux-amd64, while the openjdk-devel RPM only includes /lib/visualvm/profiler3/lib/deployed/jdk16/linux
That's not the end of the problems, though, since the native libs are not there either in the 64bit package (it looks for libprofilerinterface.so, which is present in the i586 package).
oh terrible. thanks for pointing this out.
i am working on it.
Fixed upstream. I will close this bug when it has been updated in fedora.
java-1.6.0-openjdk-18.104.22.168-18.b16.fc10 has been submitted as an update for Fedora 10.
java-1.6.0-openjdk-22.214.171.124-22.b16.fc11 has been submitted as an update for Fedora 11.
java-1.6.0-openjdk-126.96.36.199-22.b16.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.
java-1.6.0-openjdk-188.8.131.52-18.b16.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.