Changeset 282561 in webkit
- Timestamp:
- Sep 16, 2021 11:07:01 AM (3 years ago)
- Location:
- trunk/Source/bmalloc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/bmalloc/ChangeLog
r282556 r282561 1 2021-09-16 Filip Pizlo <fpizlo@apple.com> 2 3 Stub out the footprint() API when libpas is in use 4 https://bugs.webkit.org/show_bug.cgi?id=230362 5 6 Reviewed by Yusuke Suzuki. 7 8 The Gigacage's footprint API is called from some test-only code in JSC, evidently to no 9 meaningful effect. It's possible for libpas to support such an API but it currently 10 doesn't. So, stub it out. To my knowledge we don't actually use this API for anything 11 other than tests, and even tests seem to use it only in the sense that they expect to be 12 able to call it without crashing. 13 14 * bmalloc/Gigacage.cpp: 15 (Gigacage::footprint): 16 1 17 2021-09-09 Filip Pizlo <fpizlo@apple.com> 2 18 -
trunk/Source/bmalloc/bmalloc/Gigacage.cpp
r281910 r282561 324 324 size_t footprint(Kind kind) 325 325 { 326 #if BUSE(LIBPAS) 327 BUNUSED(kind); 328 return 0; 329 #else 326 330 return PerProcess<PerHeapKind<Heap>>::get()->at(heapKind(kind)).footprint(); 331 #endif 327 332 } 328 333
Note: See TracChangeset
for help on using the changeset viewer.