Skip to content

Replace GetOsPageSize with minipal_getpagesize #127550

Description

@pavelsavara

Replace all usages of GetOsPageSize() (defined in src/coreclr/utilcode/util.cpp) with minipal_getpagesize() (defined in src/native/minipal/wasm.h) and delete the former.

minipal_getpagesize() already caches the value and returns the correct page size on all platforms including WASM.

Context: #127328 (comment)

Note

This issue was created with Copilot assistance.

Metadata

Metadata

Assignees

Type

No type

Projects

Status
No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions