Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
"libpas test suit is broken due to recent profile and track allocatio…
…n mode change" https://bugs.webkit.org/show_bug.cgi?id=274554 rdar://128497967 Reviewed by Yusuke Suzuki. libpas test build fails due to recent change (122419407). Fixed the files to add allocation mode.. * Source/bmalloc/libpas/src/chaos/Chaos.cpp: (std::threadMain): * Source/bmalloc/libpas/src/libpas/hotbit_heap.c: (hotbit_try_allocate): (hotbit_try_allocate_with_alignment): (hotbit_try_reallocate): * Source/bmalloc/libpas/src/libpas/hotbit_heap.h: * Source/bmalloc/libpas/src/libpas/hotbit_heap_inlines.h: (hotbit_try_allocate_inline): (hotbit_try_allocate_with_alignment_inline): (hotbit_try_reallocate_inline): * Source/bmalloc/libpas/src/libpas/iso_heap.c: (iso_try_allocate_common_primitive): (iso_try_allocate_common_primitive_with_alignment): (iso_try_allocate_common_primitive_zeroed): (iso_allocate_common_primitive): (iso_allocate_common_primitive_with_alignment): (iso_allocate_common_primitive_zeroed): (iso_try_reallocate_common_primitive): (iso_reallocate_common_primitive): (iso_try_allocate_dynamic_primitive): (iso_try_allocate_dynamic_primitive_with_alignment): (iso_try_allocate_dynamic_primitive_zeroed): (iso_try_reallocate_dynamic_primitive): (iso_try_allocate): (iso_allocate): (iso_try_allocate_array_by_count): (iso_allocate_array_by_count): (iso_try_allocate_array_by_count_zeroed): (iso_allocate_array_by_count_zeroed): (iso_try_reallocate_array_by_count): (iso_reallocate_array_by_count): (iso_try_allocate_primitive): (iso_allocate_primitive): (iso_try_allocate_primitive_zeroed): (iso_allocate_primitive_zeroed): (iso_try_allocate_primitive_with_alignment): (iso_allocate_primitive_with_alignment): (iso_try_reallocate_primitive): (iso_reallocate_primitive): (iso_try_allocate_for_flex): * Source/bmalloc/libpas/src/libpas/iso_heap.h: * Source/bmalloc/libpas/src/libpas/iso_heap_inlines.h: (iso_try_allocate_common_primitive_inline): (iso_try_allocate_common_primitive_with_alignment_inline): (iso_try_allocate_common_primitive_zeroed_inline): (iso_allocate_common_primitive_inline): (iso_allocate_common_primitive_with_alignment_inline): (iso_allocate_common_primitive_zeroed_inline): (iso_try_reallocate_common_primitive_inline): (iso_reallocate_common_primitive_inline): (iso_try_allocate_inline): (iso_allocate_inline): (iso_try_allocate_array_by_count_inline): (iso_allocate_array_by_count_inline): (iso_try_allocate_array_by_count_zeroed_inline): (iso_allocate_array_by_count_zeroed_inline): (iso_try_reallocate_array_by_count_inline): (iso_reallocate_array_by_count_inline): (iso_try_allocate_primitive_inline): (iso_allocate_primitive_inline): (iso_try_allocate_primitive_zeroed_inline): (iso_allocate_primitive_zeroed_inline): (iso_try_allocate_primitive_with_alignment_inline): (iso_allocate_primitive_with_alignment_inline): (iso_try_reallocate_primitive_inline): (iso_reallocate_primitive_inline): (iso_try_allocate_for_flex_inline): * Source/bmalloc/libpas/src/libpas/iso_test_heap.c: (iso_test_allocate_common_primitive): (iso_test_allocate): (iso_test_allocate_array_by_count): * Source/bmalloc/libpas/src/libpas/iso_test_heap.h: * Source/bmalloc/libpas/src/libpas/jit_heap.c: (jit_heap_try_allocate): * Source/bmalloc/libpas/src/libpas/jit_heap.h: * Source/bmalloc/libpas/src/libpas/minalign32_heap.c: (minalign32_allocate_common_primitive): (minalign32_allocate): (minalign32_allocate_array_by_count): * Source/bmalloc/libpas/src/libpas/minalign32_heap.h: * Source/bmalloc/libpas/src/libpas/pagesize64k_heap.c: (pagesize64k_allocate_common_primitive): (pagesize64k_allocate): (pagesize64k_allocate_array_by_count): * Source/bmalloc/libpas/src/libpas/pagesize64k_heap.h: * Source/bmalloc/libpas/src/libpas/pas_allocation_mode.h: * Source/bmalloc/libpas/src/libpas/thingy_heap.c: (thingy_try_allocate_primitive): (thingy_try_allocate_primitive_zeroed): (thingy_try_allocate_primitive_with_alignment): (thingy_try_reallocate_primitive): (thingy_try_allocate): (thingy_try_allocate_zeroed): (thingy_try_allocate_array): (thingy_try_allocate_zeroed_array): (thingy_try_reallocate_array): (thingy_utility_heap_allocate): * Source/bmalloc/libpas/src/libpas/thingy_heap.h: * Source/bmalloc/libpas/src/libpas/thingy_heap_prefix.h: * Source/bmalloc/libpas/src/mbmalloc/mbmalloc_bmalloc.c: (mbmalloc): (mbmemalign): (mbrealloc): * Source/bmalloc/libpas/src/mbmalloc/mbmalloc_hotbit.c: (mbmalloc): (mbmemalign): (mbrealloc): * Source/bmalloc/libpas/src/mbmalloc/mbmalloc_iso_common_primitive.c: (mbmalloc): (mbmemalign): (mbrealloc): * Source/bmalloc/libpas/src/test/BitfitTests.cpp: (std::testAllocateAlignedSmallerThanSizeClassAndSmallerThanLargestAvailable): * Source/bmalloc/libpas/src/test/BmallocTests.cpp: (std::testBmallocAllocate): (std::testBmallocDeallocate): * Source/bmalloc/libpas/src/test/EnumerationTests.cpp: (std::testBasicEnumeration): (std::testPGMEnumerationBasic): (std::testPGMEnumerationAddAndFree): * Source/bmalloc/libpas/src/test/ExpendableMemoryTests.cpp: (std::testPayloadImpl): (std::testRage): (std::testRematerializeAfterSearchOfDecommitted): (std::testBasicSizeClass): * Source/bmalloc/libpas/src/test/HeapRefAllocatorIndexTests.cpp: * Source/bmalloc/libpas/src/test/IsoDynamicPrimitiveHeapTests.cpp: (std::allocate42): (std::allocate42WithAlignment): (std::allocate42Zeroed): (std::reallocate42): * Source/bmalloc/libpas/src/test/IsoHeapChaosTests.cpp: (std::gigacageAllocate): (std::testAllocationChaos): * Source/bmalloc/libpas/src/test/IsoHeapPageSharingTests.cpp: (std::testTakePages): (std::testTakePagesFromCorrectHeap): (std::testLargeHeapTakesPagesFromCorrectSmallHeap): (std::testLargeHeapTakesPagesFromCorrectSmallHeapAllocateAfterFree): (std::testLargeHeapTakesPagesFromCorrectSmallHeapWithFancyOrder): (std::testLargeHeapTakesPagesFromCorrectLargeHeap): (std::testLargeHeapTakesPagesFromCorrectLargeHeapAllocateAfterFreeOnSmallHeap): (std::testLargeHeapTakesPagesFromCorrectLargeHeapAllocateAfterFreeOnAnotherLargeHeap): (std::testLargeHeapTakesPagesFromCorrectLargeHeapWithFancyOrder): (std::testSmallHeapTakesPagesFromCorrectLargeHeap): (std::testSmallHeapTakesPagesFromCorrectLargeHeapWithFancyOrder): (std::testSmallHeapTakesPagesFromCorrectLargeHeapAllocateAfterFreeOnSmallHeap): (std::testSmallHeapTakesPagesFromCorrectLargeHeapAllocateAfterFreeOnAnotherLargeHeap): (std::allocateThingiesImpl): (std::testScavengerEventuallyReturnsMemory): (std::testScavengerEventuallyReturnsMemoryEvenWithoutManualShrink): * Source/bmalloc/libpas/src/test/IsoHeapPartialAndBaselineTests.cpp: (std::testSimplePartialAllocations): (std::testFreeAroundPrimordialStop): (std::testFreeInterleavedAroundPrimordialStop): (std::testMultiplePartialsFromDifferentHeapsPerShared): (std::testMultiplePartialsFromDifferentThreadsPerShared): (std::testTwoBaselinesEvictions): * Source/bmalloc/libpas/src/test/IsoHeapReservedMemoryTests.cpp: (std::testSizeProgression): * Source/bmalloc/libpas/src/test/JITHeapTests.cpp: (std::testAllocateShrinkAndAllocate): (std::testAllocationSize): * Source/bmalloc/libpas/src/test/LotsOfHeapsAndThreads.cpp: (std::testLotsOfHeapsAndThreads): * Source/bmalloc/libpas/src/test/MemalignTests.cpp: * Source/bmalloc/libpas/src/test/PGMTests.cpp: (std::testPGMSingleAlloc): (std::testPGMMultipleAlloc): (std::testPGMRealloc): (std::testPGMErrors): * Source/bmalloc/libpas/src/test/RaceTests.cpp: (std::testLocalAllocatorStopRace): (std::testLocalAllocatorStopRaceAgainstScavenge): * Source/bmalloc/libpas/src/test/TLCDecommitTests.cpp: (std::testTLCDecommit): (std::testChaosThenDecommit): (std::testAllocateFromStoppedBaselineImpl): * Source/bmalloc/libpas/src/test/TSDTests.cpp: (std::destructor): (std::testTSD): * Source/bmalloc/libpas/src/test/ThingyAndUtilityHeapAllocationTests.cpp: (std::testFreeListRefillSpans): (std::testInternalScavenge): (std::testInternalScavengeFromCorrectDirectory): (std::testSpuriousEligibility): (std::testBasicSizeClassNotSet): (std::testSmallDoubleFree): (std::testSmallFreeInner): (std::testSmallFreeNextWithShrink): (std::testSmallFreeNextWithoutShrink): (std::testSmallFreeNextBeforeShrink): (std::testAllocationChaos): (std::testCombinedAllocationChaos): (std::testLargeDoubleFree): (std::testLargeOffsetFree): (std::testReallocatePrimitive): (std::testReallocateArray): * Source/bmalloc/libpas/src/test/ViewCacheTests.cpp: (std::testDisableViewCacheUsingBoundForNoViewCache): (std::testEnableViewCacheAtSomeBoundForNoViewCache): Canonical link: https://commits.webkit.org/279280@main
- Loading branch information