How to skip "Creating CDS-NOCOOPS archive for jdk image for server"

Daniel Fuchs daniel.fuchs at oracle.com
Mon Apr 3 15:02:27 UTC 2023


Hi Oliver,

I usually use '$ make jdk-image' rather than '$ make images'
when I want to compile an image for running tests locally.

Not sure it will solve your problem, but in my experience
it saves a few cycles.

best regards,

-- daniel

On 03/04/2023 10:21, Oliver Kopp wrote:
> Hey,
> 
> I am on Windows 10 and compiling using Cygwin. The code I am working on 
> is verfy inside the JDK - and thus could prevent compilation. (I am 
> trying to work on https://github.com/openjdk/jdk/pull/10704 
> <https://github.com/openjdk/jdk/pull/10704>).
> 
> With some modifications of the code, compilation hangs at " Creating 
> CDS-NOCOOPS archive for jdk image for server"
> 
> $ make images
> Building target 'images' in configuration 'windows-x86_64-server-release'
> Compiling up to 89 files for jdk.jlink
> Updating support/src.zip
> Creating jdk.jlink.jmod
> Creating java.base.jmod
> Creating jdk image
> Creating CDS archive for jdk image for server
> Creating CDS-NOCOOPS archive for jdk image for server
> 
> When executing tests, it also depends on the CDS tasks:
> 
> $ make test TEST="jtreg:test/jdk/tools/jlink/JLink100Modules.java"
> Building target 'test' in configuration 'windows-x86_64-server-release'
> Creating CDS archive for jdk image for server
> Creating CDS-NOCOOPS archive for jdk image for server
> 
> Would it be possible to adapt the dependencies that only " 
> jdk.jlink.jmod", "java.base.jmod", " jdk image" are build?
> 
> Cheers,
> 
> Oliver



More information about the jdk-dev mailing list