Skip to content

Conversation

graalvmbot
Copy link
Collaborator

The debuginfotest fails with:

(gdb) print /x *args
Checker print String[] args: match 4 failed at line 4       reserved = 0x0

Checker print String[] args {
  re.compile('.* = {')
  re.compile('[ \t]+<java.lang.Object> = {')
  re.compile('[ \t]+<_objhdr> = {')
  re.compile('[ \t]+hub = 0x[0-9a-f]+')
  re.compile('[ \t]+}, <No data fields>}, ')
  re.compile('[ \t]+members of java\\.lang\\.String\\[\\]:')
  re.compile('[ \t]+len = 0x0,')
  re.compile('[ \t]+data = 0x[0-9a-f]+')
  re.compile('}')
}

$4 = {
  <java.lang.Object> = {
    <_objhdr> = {
      hub = 0xb9faa80,
      reserved = 0x0
    }, <No data fields>}, 
  members of java.lang.String[]:
  len = 0x0,
  data = 0x7ffc511000b4
}

This is caused by a change in the object header.
The object header may contain a reserved field, if the hub field is not located at offset 0.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Apr 22, 2025
@graalvmbot graalvmbot closed this Apr 24, 2025
@graalvmbot graalvmbot deleted the doma/GR-64051 branch April 24, 2025 21:53
@graalvmbot graalvmbot merged commit 2cc2b72 into master Apr 24, 2025
3 of 13 checks passed
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