Android 16 KB page size support

90 views
Skip to first unread message

Paulo Coutinho

unread,
Jan 17, 2025, 10:11:29 AMJan 17
to pdfium
Hi,

There is any native option for support "16 KB page size"?


Thanks.

Lei Zhang

unread,
Jan 17, 2025, 1:52:09 PMJan 17
to Paulo Coutinho, pdfium
If your PDFium build is using PartitionAlloc, then check to see if
`PARTITION_ALLOCATOR_CONSTANTS_POSIX_NONCONST_PAGE_SIZE` is define.
Looking at base/allocator/partition_allocator/src/partition_alloc/page_allocator_constants.h,
it says ARM64 supports 4, 16, and 64 KB page sizes.
> --
> You received this message because you are subscribed to the Google Groups "pdfium" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pdfium+un...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/pdfium/4e06f185-5eab-46b1-83a3-698ea950197en%40googlegroups.com.

Benoit Blanchon

unread,
Sep 10, 2025, 11:37:09 AM (12 days ago) Sep 10
to pdfium
Can we configure the page size if we build without PartitionAlloc?
Reply all
Reply to author
Forward
0 new messages