Skip to content

[GR-62990] Fields containing classes are not properly supported by the debug info. #10919

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 4, 2025

Conversation

graalvmbot
Copy link
Collaborator

When debugging a native image and looking at an object that has fields that contain java.lang.Class objects, those fields are not read correctly. They typically appear like class objects where all the fields are 0.

It seems that the compressed oop is decoded in gdb to an address that's near the start of the image heap, in the first protected chunk, which is all zeros.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Mar 25, 2025
@graalvmbot graalvmbot force-pushed the doma/GR-62990 branch 2 times, most recently from 0812fc3 to b40ff47 Compare April 2, 2025 13:34
@graalvmbot graalvmbot closed this Apr 4, 2025
@graalvmbot graalvmbot merged commit da18562 into master Apr 4, 2025
13 checks passed
@graalvmbot graalvmbot deleted the doma/GR-62990 branch April 4, 2025 05:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants