On Thu, 7 May 2026 06:30:47 GMT, Axel Boldt-Christmas <[email protected]> 
wrote:

> `DEBUG_CDS_ARCHIVE` is used add logging to the archive build step generation. 
> But because it is missing one nesting level it does nothing.
> 
> Should be prefixed with `$1_$2_$3_` not just `$1_$2_`
> 
> Build.log with `DEBUG_CDS_ARCHIVE=true`:
> * Without patch 
> 
> Creating CDS archive for jdk image for server
> Using CDS flags for server: -Xmx128M -Xms128M -XX:+UseG1GC
> 
> * With patch 
> 
> Creating CDS archive for jdk image for server
> Using CDS flags for server: -Xmx128M -Xms128M -XX:+UseG1GC 
> -Xlog:aot+map*=trace:file=/scratch/aboldtch/zgc-worktrees/valhalla_review/build/linux-x64-debug/images/jdk/lib/server/classes.jsa.cdsmap:none:filesize=0
> 
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: 1dedf05f
Author:    Axel Boldt-Christmas <[email protected]>
URL:       
https://git.openjdk.org/valhalla/commit/1dedf05ff60efe155f2a1af99bb19029311d3efc
Stats:     1 line in 1 file changed: 0 ins; 0 del; 1 mod

8384064: [lworld] DEBUG_CDS_ARCHIVE does not work

Reviewed-by: matsaave

-------------

PR: https://git.openjdk.org/valhalla/pull/2403

Reply via email to