Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 0595bf7365bd73ca19cc052715e6bba5055b37fd
      
https://github.com/Perl/perl5/commit/0595bf7365bd73ca19cc052715e6bba5055b37fd
  Author: Richard Leach <[email protected]>
  Date:   2026-02-12 (Thu, 12 Feb 2026)

  Changed paths:
    M dump.c

  Log Message:
  -----------
  Close padding hole in Perl_OpDumpContext struct

The pahole tool, on AMD64, shows that this commit converts:
```
struct Perl_OpDumpContext {
        I32                        level;                /*     0     4 */

        /* XXX 4 bytes hole, try to pack */

        UV                         bar;                  /*     8     8 */
        PerlIO *                   file;                 /*    16     8 */
        _Bool                      indent_needed;        /*    24     1 */

        /* size: 32, cachelines: 1, members: 4 */
        /* sum members: 21, holes: 1, sum holes: 4 */
        /* padding: 7 */
        /* last cacheline: 32 bytes */
};
```

to

```
struct Perl_OpDumpContext {
        PerlIO *                   file;                 /*     0     8 */
        UV                         bar;                  /*     8     8 */
        I32                        level;                /*    16     4 */
        _Bool                      indent_needed;        /*    20     1 */

        /* size: 24, cachelines: 1, members: 4 */
        /* padding: 3 */
        /* last cacheline: 24 bytes */
};
```



To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications

Reply via email to