Reputation: 4693
On Equinox-based application deadlock appears sometimes on an internal classloader. I've found the issue on Equinox bug-tracker which describes my problem. But the fix is not complete for Java 6 or lower and the resolution for Java 6 is just a workaround: adding two VM options
-XX:+UnlockDiagnosticVMOptions -XX:+UnsyncloadClass
Also there is a Sun bug for native classloader()
and the fix seems to be incomplete also. So the workaround is the only solution at the moment.
So the question is: does anyone have any troubles or issues connected with this workaround? Thanks in advance.
Upvotes: 4
Views: 554
Reputation: 161
Been using those options with Sun(Oracle) based JVMs running Eclipse for years now. Have never had an issue that could be traced to them.
Upvotes: 0
Reputation: 4693
After few days of testing no issues were found with this workaround. So this workaround solved the problem.
Upvotes: 1