Skip to content

Commit 083e014

Browse files
committedAug 12, 2022
8292233: Increase symtab hash table size
Reviewed-by: kevinw, cjplummer
1 parent 45e5b31 commit 083e014

File tree

1 file changed

+1
-1
lines changed
  • src/jdk.hotspot.agent/linux/native/libsaproc

1 file changed

+1
-1
lines changed
 

‎src/jdk.hotspot.agent/linux/native/libsaproc/symtab.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ static struct symtab* build_symtab_internal(int fd, const char *filename, bool t
390390
goto bad;
391391
}
392392

393-
rslt = hcreate_r(n, symtab->hash_table);
393+
rslt = hcreate_r(htab_sz, symtab->hash_table);
394394
// guarantee(rslt, "unexpected failure: hcreate_r");
395395

396396
// shdr->sh_link points to the section that contains the actual strings

0 commit comments

Comments
 (0)
Please sign in to comment.