`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).

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

Commit messages:
 - DEBUG_CDS_ARCHIVE not working

Changes: https://git.openjdk.org/valhalla/pull/2403/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=2403&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8384064
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/valhalla/pull/2403.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2403/head:pull/2403

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

Reply via email to