Gong Su writes:
 > stucks at InitializeJVM hogging all the CPU. Any help will be
 > highly appreciated. TIA.

This is well-known problem that already seems forgotten around
here. On Linux, libdl is (was until recently) not thread-safe.
This actually made it into the Blackdown FAQ, IIRC. You get
this kind of setup working using LD_PRELOAD on libjava.so (v117)
when starting your main app linked against libdl.so. Some
people claim that LD_BIND_NOW does the trick, it never worked
for me. I also use native threads explicitely, this problem was
more pesistent with green threads.

Contact me off list if you need more information. The Sun
tutorials won't do you any good, neither will embedded VM
applications that link against Java explicitely or do not
use libdl.so.

                                                b.
     



----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to