• Michael Lippautz's avatar
    cppgc: Add support for double-word aligned allocations · 62418750
    Michael Lippautz authored
    Adds support for double-word aligned, i.e., 8 bytes on 32-bit
    platforms and 16 bytes on 64-bit platforms, objects in Oilpan.
    
    Changes:
    - Adds generic alignment APIs and overrides.
    - Internal logic to support double-word aligned allocations on LABs.
    - Adjusts natural alignment of large objects to follow double-word.
    - Adds a new static_assert() that suggests users file a bug if higher
      alignment is required.
    - Statically checks that no allocations with non-default alignment
      target custom spaces that support compaction.
    
    Bug: v8:12295
    Change-Id: I05766ce2349055d5d78b68919be00e7ee91d5505
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3218150Reviewed-by: 's avatarAnton Bikineev <bikineev@chromium.org>
    Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#77348}
    62418750
Name
Last commit
Last update
..
internal Loading commit data...
DEPS Loading commit data...
OWNERS Loading commit data...
README.md Loading commit data...
allocation.h Loading commit data...
common.h Loading commit data...
cross-thread-persistent.h Loading commit data...
custom-space.h Loading commit data...
default-platform.h Loading commit data...
ephemeron-pair.h Loading commit data...
explicit-management.h Loading commit data...
garbage-collected.h Loading commit data...
heap-consistency.h Loading commit data...
heap-state.h Loading commit data...
heap-statistics.h Loading commit data...
heap.h Loading commit data...
liveness-broker.h Loading commit data...
macros.h Loading commit data...
member.h Loading commit data...
name-provider.h Loading commit data...
object-size-trait.h Loading commit data...
persistent.h Loading commit data...
platform.h Loading commit data...
prefinalizer.h Loading commit data...
process-heap-statistics.h Loading commit data...
sentinel-pointer.h Loading commit data...
source-location.h Loading commit data...
testing.h Loading commit data...
trace-trait.h Loading commit data...
type-traits.h Loading commit data...
visitor.h Loading commit data...