FT2000+ 64K内存页系统chromium无法渲染问题
64KB内存页为65536Byte,以2为底取对数为16。
修改PageAllocator.h,将kPageAllocationGranularityShift改为16,kSystemPageSize改为65536。
修改PartitionAlloc.h,将kPartitionPageShift改为18。以2为底取对数为16 + 2。
修改Heap.h,将blinkPageSizeLog2改为21。以2为底取对数为16 + 5。
手动修改
修改PageAllocator.h
#if OS(WIN)
static const size_t kPageAllocationGranularityShift = 16; // 64KB
#else
static const size_t kPageAllocationGranularityShift = 12; // 4KB
#endif
------------------------------------------------------------------------------------------
改为
#if OS(WIN)
static const size_t kPageAllocationGranularityShift = 16; // 64KB
#else
static const size_t kPageAllocationGranularityShift = 16; // 64KB
#endif
static const size_t kSystemPageSize = 4096;
------------------------------------------------------------------------

最低0.47元/天 解锁文章
2355





