-XstartOnFirstThread for OS X

Michael Franz mvfranz at gmail.com
Wed Nov 26 17:19:03 PST 2008


Hi,

I have been thinking about this and have not come up with a way for SWT to
actually put their runloop on thread 0.  It is easy enough to start the JVM
on thread 0 but that prevents the changing of the stack size, at least this
is true on linux/solaris.

Is it good enough to just have the JVM start on the first thread and then
lose the ability to change the JVM's stack size?

What I have found interesting is that on Leopard using Apple's JDK5 they
spit out a message about setting up for SWT when -XstartOnFirstThread is
passed, but this prevents any Swing application from working.  This does not
happen on Tiger with JDK 5.

Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20081126/11a10519/attachment.html 


More information about the bsd-port-dev mailing list