feat: Add logging of the contents of the aot cache to the map file#1
Open
Delawen wants to merge 3 commits into
Open
feat: Add logging of the contents of the aot cache to the map file#1Delawen wants to merge 3 commits into
Delawen wants to merge 3 commits into
Conversation
070d4a1 to
70eb990
Compare
Author
|
@vnkozlov Ready to integrate ;) On a normal execution ( I haven't been able to properly explore the aot code cache after training and before assembly, maybe it is empty? This intermediate map file would be useful only for Leyden debugging purposes ("why does my method not end up in the cache I use on production if it is stored on the training run?"), so I would just merge this and maybe come back later to try to fill that map file. |
5 tasks
0b9e74d to
9f1c5be
Compare
This was referenced Jun 10, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adding to the assembly mapfile the assets of the code cache.
Tests in https://github.com/Delawen/jdk/actions/runs/27264662339
The map file is generated for example with
-Xlog:aot+map=trace,aot+map+oops=trace,aot=warning:file=${FOLDER}/aot.map:none:filesize=0Example of output:
For NMethods:
Pointer: @@NmethodSizeCompilation LevelCompilation IDMethod signatureFort the rest:
Pointer: @@KindSizeIDName