Darwin OpenJDK 7 Binaries - Not Working With SWT
Michael Franz
mvfranz at gmail.com
Sat Oct 11 18:14:26 PDT 2008
Hi,
On Sun, Sep 7, 2008 at 9:22 PM, Landon Fuller <landonf at plausiblelabs.com>wrote:
>
> On Sep 7, 2008, at 1:08 PM, Michael Franz wrote:
>
> I changed the startup to not pass the flag. I was running this from
>> inside eclipse, but eclipse must somehow pass the option as it did not show
>> up in the command.
>>
>
> There are two small patches from SoyLatte that need to be re-implemented
> for OpenJDK, both of which you have run into:
>
> -XstartOnFirstThread:
>
> Soylatte by starts a Cocoa runloop on the first thread, and then run
> the JVM main() function again on a separate thread
> Setting -XstartOnFirstThread has the same behavior on Mac OS X, in
> that Java is started directly on the first thread.
>
> Reading through the code and finding a few bugs on primordial threads and
this blog entry[1] , I wonder if -XstartOnFirstThread is really OS X
specific (I assumed it was).
I was also reading through the Cocoa reference I have, my understanding is
that it is possible to create a runloop on other threads, not just the first
thread.
Michael
[1] http://blogs.sun.com/ksrini/entry/hotspot_primordial_thread_jni_stack
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20081011/990c62a3/attachment.html
More information about the bsd-port-dev
mailing list