hg: macosx-port/macosx-port/jdk: Fixing Toolkit selection issues at startup, auto-selecting headless when not in graphical session, auto-selecting XToolkit when /tmp/launch-8hl5J4/org.x:0 is set, installing eAWT app delegates to catch extended Mac app events, added default menu bar support, adding gesture support, adding GCD dispatch support, adding eIO filesystem support, moving LaF native code into osxui library along with other eAWT code, other misc cleanup and debug simplification.

Mike Swingler swingler at apple.com
Wed Sep 7 08:13:36 PDT 2011


The GCD support is already API in Java SE 6:
<http://developer.apple.com/library/mac/documentation/Java/Reference/JavaSE6_AppleExtensionsRef/api/com/apple/concurrent/Dispatch.html>

This check-in brings OpenJDK up to parity with the eAWT, eIO, and Dispatch Apple extensions.

As for proposing an SPI for adding executors, I hadn't really thought that far - it would be a good topic for discussion (do other OS's only have one native thread implementations? is the existing API robust enough for cooperative/work-stealing implementations? etc).

~Mike

On Sep 7, 2011, at 5:40 AM, Andrew Thompson wrote:

> Is this GCD support going to be exposed as an API to call or is it an internal implementation detail?
> 
> Some time ago, Mike, you pointed out on MRJ-dev there's no service provider API in Java for plugging in executors. Are you interested in working on a proposal for Open JDK 8?
> 
> 
> 
> On Sep 7, 2011, at 3:20 AM, swingler at apple.com wrote:
> 
>> Changeset: 67591b2326bf
>> Author:    swingler at apple.com
>> Date:      2011-09-07 00:20 -0700
>> URL:       http://hg.openjdk.java.net/macosx-port/macosx-port/jdk/rev/67591b2326bf
>> 
>> Fixing Toolkit selection issues at startup, auto-selecting headless when not in graphical session, auto-selecting XToolkit when /tmp/launch-8hl5J4/org.x:0 is set, installing eAWT app delegates to catch extended Mac app events, added default menu bar support, adding gesture support, adding GCD dispatch support, adding eIO filesystem support, moving LaF native code into osxui library along with other eAWT code, other misc cleanup and debug simplification.



More information about the macosx-port-dev mailing list