This CL reorders the fields of one or multiple types (classes/structs) to group the hot fields together to increase data density. This CL doesn’t change functionality but expects to reduce cache misses and save GCUs.

This CL is generated by the clang field reordering tool based on the field hotness collected by data type profile. Please check go/field-reordering-orc for details.

---

Should you find this CL disrupts an already optimized class/struct layout, please inform us by replying to this CL for a manual review with either the following options: (1) opt-out this optimization as the class/struct layout has been completely optimized; (2) Minor change by collocating <field1>, <field2>, … together in <type> because we know they are accessed together.

LSC doc: go/field-reordering-lsc

EDIT_CATEGORY: CATEGORY_TYPE_FIELD_REORDERING
FULLY_QUALIFIED_TYPE_NAME: quic::QuicSession,quic::QuicServerSessionBase,quic::QuicSpdySession

#gwp-cl-impact

Tested:
    TAP for global presubmit queue
    http://test/OCL:789382926:BASE:789954846:1754094319348:fab03a04
PiperOrigin-RevId: 793806623
6 files changed
tree: c4ae2dc5d51db063c5fadaeb56badb4e86bda655
  1. build/
  2. depstool/
  3. quiche/
  4. .bazelrc
  5. .bazelversion
  6. BUILD.bazel
  7. CONTRIBUTING.md
  8. LICENSE
  9. MODULE.bazel
  10. MODULE.bazel.lock
  11. README.md
  12. WHITESPACE
README.md

QUICHE

QUICHE stands for QUIC, Http, Etc. It is Google‘s production-ready implementation of QUIC, HTTP/2, HTTP/3, and related protocols and tools. It powers Google’s servers, Chromium, Envoy, and other projects. It is actively developed and maintained.

There are two public QUICHE repositories. Either one may be used by embedders, as they are automatically kept in sync:

To embed QUICHE in your project, platform APIs need to be implemented and build files need to be created. Note that it is on the QUICHE team's roadmap to include default implementation for all platform APIs and to open-source build files. In the meanwhile, take a look at open source embedders like Chromium and Envoy to get started:

To contribute to QUICHE, follow instructions at CONTRIBUTING.md.

QUICHE is only supported on little-endian platforms.