Skip to content

Commit

Permalink
JDK-8341820
Browse files Browse the repository at this point in the history
  • Loading branch information
MBaesken committed Oct 10, 2024
1 parent e7c5bf4 commit 45333b9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/jdk.hotspot.agent/linux/native/libsaproc/symtab.c
Original file line number Diff line number Diff line change
Expand Up @@ -389,9 +389,9 @@ static struct symtab* build_symtab_internal(int fd, const char *filename, bool t
goto bad;
}

// int rslt =
hcreate_r(htab_sz, symtab->hash_table);
// guarantee(rslt, "unexpected failure: hcreate_r");
if (hcreate_r(htab_sz, symtab->hash_table) == 0) {
goto bad;
}

// shdr->sh_link points to the section that contains the actual strings
// for symbol names. the st_name field in ELF_SYM is just the
Expand Down

0 comments on commit 45333b9

Please sign in to comment.