Title: [283285] trunk/Source/bmalloc
- Revision
- 283285
- Author
- [email protected]
- Date
- 2021-09-29 17:07:14 -0700 (Wed, 29 Sep 2021)
Log Message
[bmalloc] ChunkHash is not used since r261667
https://bugs.webkit.org/show_bug.cgi?id=230762
Reviewed by Alex Christensen.
The structure is the leftover when ObjectTypeTable was introduced at r261667.
* bmalloc/Chunk.h:
Modified Paths
Diff
Modified: trunk/Source/bmalloc/ChangeLog (283284 => 283285)
--- trunk/Source/bmalloc/ChangeLog 2021-09-30 00:00:16 UTC (rev 283284)
+++ trunk/Source/bmalloc/ChangeLog 2021-09-30 00:07:14 UTC (rev 283285)
@@ -1,3 +1,14 @@
+2021-09-29 Basuke Suzuki <[email protected]>
+
+ [bmalloc] ChunkHash is not used since r261667
+ https://bugs.webkit.org/show_bug.cgi?id=230762
+
+ Reviewed by Alex Christensen.
+
+ The structure is the leftover when ObjectTypeTable was introduced at r261667.
+
+ * bmalloc/Chunk.h:
+
2021-09-29 Eric Hutchison <[email protected]>
Unreviewed, reverting r282850.
Modified: trunk/Source/bmalloc/bmalloc/Chunk.h (283284 => 283285)
--- trunk/Source/bmalloc/bmalloc/Chunk.h 2021-09-30 00:00:16 UTC (rev 283284)
+++ trunk/Source/bmalloc/bmalloc/Chunk.h 2021-09-30 00:07:14 UTC (rev 283285)
@@ -66,14 +66,6 @@
std::array<SmallPage, chunkSize / smallPageSize> m_pages { };
};
-struct ChunkHash {
- static unsigned hash(Chunk* key)
- {
- return static_cast<unsigned>(
- reinterpret_cast<uintptr_t>(key) / chunkSize);
- }
-};
-
inline size_t Chunk::metadataSize(size_t pageSize)
{
// We align to at least the page size so we can service aligned allocations
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes