Hello,

Looks good, just one minor comment below.


On 2017-02-08 20:29, Bob Vandette wrote:
SUMMARY:

Please review the following set of changes that adds Ahead-of-time compilation 
support for Mac OSX and
Windows x64 in JDK 10.  Linux and Solaris x64 AOT support has also been updated 
to be consistent with
the new 100% Java based binary container support included in this changeset.

This change also removes the build and runtime dependency on the external 
libelf library and header files.

Once this change is integrated Ahead of time support will be available for the 
following set of Platforms:

- Linux x64
- Windows x64
- MacOSX x64
- Solaris x64

RFE:

https://bugs.openjdk.java.net/browse/JDK-8172670 
<https://bugs.openjdk.java.net/browse/JDK-8172670>

WEBREVS:

TOP LEVEL
—————

http://cr.openjdk.java.net/~bobv/8172670/webrev.01/
hotspot.m4: The variable OPENJDK_TARGET_CPU can never have the value "amd64" so no need to test for it. (if it does, it's a bug)


JDK
——

http://cr.openjdk.java.net/~bobv/8172670/jdk/webrev.01/

HOTSPOT
—————

Full Hotspot Webrev:
http://cr.openjdk.java.net/~bobv/8172670/hotspot/webrev.01/ 
<http://cr.openjdk.java.net/~bobv/8172670/hotspot/webrev.01/>


If you’d prefer to review things in smaller chunks, here are the hotspot 
changes for Linux and
Solaris including the libelf removal:
http://cr.openjdk.java.net/~bobv/8172670/hotspot/webrev-linux.01/ 
<http://cr.openjdk.java.net/~bobv/8172670/hotspot/webrev-linux.01/>

Files added to support Mac OSX:
http://cr.openjdk.java.net/~bobv/8172670/hotspot/webrev-mac.01/ 
<http://cr.openjdk.java.net/~bobv/8172670/hotspot/webrev-mac.01/>

Files added to provide Windows support:
http://cr.openjdk.java.net/~bobv/8172670/hotspot/webrev-win.01/ 
<http://cr.openjdk.java.net/~bobv/8172670/hotspot/webrev-win.01/>

Changes to the jtreg tests for AOT:
http://cr.openjdk.java.net/~bobv/8172670/hotspot/webrev-test.01/ 
<http://cr.openjdk.java.net/~bobv/8172670/hotspot/webrev-test.01/>


TESTING:

1. JPRT has been run and passes with these changes
2. jtreg AOT tests pass on all supported platforms
3. AOT compiling of java.base completes and can run basic Java programs on all 
supported platforms

NOTE:

1. Although these test run correctly on Windows, jtreg AOT tests have been 
temporarily disabled for this platform.
This is due to an internal JPRT system configuration issue which will hopefully 
get resolved soon.  AOT requires
access to a local toolchain and our JPRT systems do not regularly install 
Visual Studio.
We need to discuss this, will send a separate mail.

/Erik

Thanks,
Bob.

Reply via email to