JDK 9 build hangs after java.security

Joe Kutner jpkutner at gmail.com
Thu Jul 16 02:28:39 UTC 2015


That revealed that it is working (but very slowly) :) thank you

> On Jul 15, 2015, at 5:46 PM, David Holmes <david.holmes at oracle.com> wrote:
> 
> On 16/07/2015 7:40 AM, Joe Kutner wrote:
>> I’m trying to build JDK 9 on Ubuntu using Docker. My build hangs at this point:
>> 
>>> Generating java.security
>>> Note: Some input files use unchecked or unsafe operations.
>>> Note: Recompile with -Xlint:unchecked for details.
>>> Warning: generation and use of skeletons and static stubs for JRMP
>>> is deprecated. Skeletons are unnecessary, and static stubs have
>>> been superseded by dynamically generated stubs. Users are
>>> encouraged to migrate away from using rmic to generate skeletons and static
>>> stubs. See the documentation for java.rmi.server.UnicastRemoteObject.
>> 
>> How can I can more info to debug the problem?
> 
> make LOG_LEVEL=debug
> 
> Also see what processes are running at that point. You are on a "low power" system (1 core, 2G) so you may just be hitting an intensive part of the build - like building docs maybe?
> 
> David
> 
>> JDK 9 used to build successfully in this environment (maybe 2 months ago). I’m not sure when this started.
>> 
>> More environment info:
>> 
>> $ uname -a
>> Linux bc6c6578ed2f 4.0.7-boot2docker #1 SMP Wed Jul 15 00:01:41 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
>> 
>> ====================================================
>> A new configuration has been successfully created in
>> /tmp/tmp.s8BA5OS8Mj/openjdk9/build/linux-x86_64-normal-server-release
>> using configure arguments '--with-cacerts-file=/cacerts --with-boot-jdk=/app/opt/java --disable-headful --enable-unlimited-crypto --disable-debug-symbols --with-jvm-variants=server --with-target-bits=64 --with-num-cores=2 --with-milestone=''cedar14_2015-07-15'' --with-update-version=ea --with-build-number=b70'.
>> 
>> Configuration summary:
>> * Debug level:    release
>> * HS debug level: product
>> * JDK variant:    normal
>> * JVM variants:   server
>> * OpenJDK target: OS: linux, CPU architecture: x86, address length: 64
>> 
>> Tools summary:
>> * Boot JDK:       openjdk version "1.8.0_40-cedar14" OpenJDK Runtime Environment (build 1.8.0_40-cedar14-b25) OpenJDK 64-Bit Server VM (build 25.40-b25, mixed mode)  (at /app/opt/java)
>> * Toolchain:      gcc (GNU Compiler Collection)
>> * C Compiler:     Version 4.8.2 (at /usr/bin/gcc)
>> * C++ Compiler:   Version 4.8.2 (at /usr/bin/g++)
>> 
>> Build performance summary:
>> * Cores to use:   1
>> * Memory limit:   2002 MB
>> 




More information about the build-dev mailing list