RFR: 8234930: Use MAP_JIT when allocating pages for code cache on macOS

Thomas Stüfe thomas.stuefe at gmail.com
Tue Sep 29 11:20:47 UTC 2020


Hi Anton,

Excuse me for the long message. I'll take a look is it possible to retrieve
> the information in runtime and look for the options.


just another thought, in uncommit, if there is no way to poll the creation
flag from the OS, you could just first try mmap(MAP_FIXED, MAP_NORESERVE);
if that fails due to EINVAL, try the madvise route.

Cheers, Thomas


>


More information about the shenandoah-dev mailing list