RESOLVED FIXED 223649
Don't require VM_FLAGS_PERMANENT on the simulator builds
https://bugs.webkit.org/show_bug.cgi?id=223649
Summary Don't require VM_FLAGS_PERMANENT on the simulator builds
Saam Barati
Reported 2021-03-23 11:48:14 PDT
...
Attachments
patch (2.22 KB, patch)
2021-03-23 12:14 PDT, Saam Barati
ap: review+
patch for landing (2.31 KB, patch)
2021-03-23 13:12 PDT, Saam Barati
no flags
Radar WebKit Bug Importer
Comment 1 2021-03-23 11:48:30 PDT
Saam Barati
Comment 2 2021-03-23 12:14:57 PDT
Alexey Proskuryakov
Comment 3 2021-03-23 12:28:46 PDT
Comment on attachment 424048 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=424048&action=review > Source/WTF/wtf/WTFConfig.cpp:80 > +#if HAVE(VM_FLAGS_PERMANENT) && PLATFORM(IOS_FAMILY_SIMULATOR) I'd add FIXME: Remove the fallback when the oldest host OS that we support for Simulator has VM_FLAGS_PERMANENT. > Source/WTF/wtf/WTFConfig.cpp:82 > + flags = VM_FLAGS_FIXED | VM_FLAGS_OVERWRITE; It should be safer against potential future code modifications to clear VM_FLAGS_PERMANENT here, not to double-guess what it was set to ten lines above.
Saam Barati
Comment 4 2021-03-23 13:08:13 PDT
Comment on attachment 424048 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=424048&action=review >> Source/WTF/wtf/WTFConfig.cpp:80 >> +#if HAVE(VM_FLAGS_PERMANENT) && PLATFORM(IOS_FAMILY_SIMULATOR) > > I'd add FIXME: Remove the fallback when the oldest host OS that we support for Simulator has VM_FLAGS_PERMANENT. Sounds good >> Source/WTF/wtf/WTFConfig.cpp:82 >> + flags = VM_FLAGS_FIXED | VM_FLAGS_OVERWRITE; > > It should be safer against potential future code modifications to clear VM_FLAGS_PERMANENT here, not to double-guess what it was set to ten lines above. Sounds good
Saam Barati
Comment 5 2021-03-23 13:12:58 PDT
Created attachment 424054 [details] patch for landing
EWS
Comment 6 2021-03-23 13:55:25 PDT
Committed r274898: <https://commits.webkit.org/r274898> All reviewed patches have been landed. Closing bug and clearing flags on attachment 424054 [details].
Note You need to log in before you can comment on or make changes to this bug.