Commit Graph

175 Commits

Author SHA1 Message Date
brandon schaefer
d1becd40a2 Remove the now deleted option to EnableAutoRTFM, this is default and now youve to explicitly disable it for a module
#rb neil.henning

[CL 34015057 by brandon schaefer in ue5-main branch]
2024-05-30 18:00:50 -04:00
rafa lecina
abeb34e164 Remove storekit framework for apps not distributed through the AppStore
[REVIEW] [at]chris.varnsverry, [at]josh.adams, [at]adam.kinge
#rb Chris.Varnsverry

[CL 33973099 by rafa lecina in ue5-main branch]
2024-05-29 10:23:24 -04:00
florin pascu
15e29573ff Add MallocBinned3 to iOS
#rb dmytro.vovk

[CL 33788570 by florin pascu in ue5-main branch]
2024-05-21 03:51:08 -04:00
henrik karlsson
18f1b93d39 Changed so "InitializeModule()" is a fallback solution for initializing modules in loaded dll. Now we instead use an intrusive linked list to find the module. This way we can have multiple modules in the same dll and also allow the search to be case insensitive
[CL 33734845 by henrik karlsson in ue5-main branch]
2024-05-17 15:54:41 -04:00
dmytro vovk
bcb82395d6 Replaced persistent auxilary memory with a new Persistent Linear Allocator. Attempt no. 2
#jira UE-213886
#rb Johan.Torp
[REVIEW] 32434095

[CL 33433276 by dmytro vovk in ue5-main branch]
2024-05-03 15:09:09 -04:00
dmytro vovk
a5cdcc7cad Reverted the new Persistent Linear Allocator
[CL 33327288 by dmytro vovk in ue5-main branch]
2024-04-30 05:35:47 -04:00
dmytro vovk
7e798a77f7 Disable gc.SizeOfPermanentObjectPool deprecation warning for now
[CL 33326714 by dmytro vovk in ue5-main branch]
2024-04-30 05:09:25 -04:00
dmytro vovk
9b4e98755f Replaced persistent auxilary memory with a new Persistent Linear Allocator
#rb Johan.Torp

[CL 33324038 by dmytro vovk in ue5-main branch]
2024-04-30 02:04:11 -04:00
josh adams
1490a189af - Split Mac target/deployment versions to have editor and non-editor versions
- Moved them into SDK.json
- Fixed up some deprecation warnings when tarrgeting macOS 13
- IOS is still using old .ini project setting method
#rb adam.kinge, carl.lloyd, zack.neyland

[CL 31651333 by josh adams in ue5-main branch]
2024-02-20 13:42:11 -05:00
joe kirchoff
bc8e4bd625 Use module reference for AtomicQueue
#rnx

[CL 30443352 by joe kirchoff in ue5-main branch]
2023-12-22 14:29:08 -05:00
joe kirchoff
9cfbb6a32f Fix warnings in ModuleRules
#rnx

[CL 30431868 by joe kirchoff in ue5-main branch]
2023-12-21 13:35:12 -05:00
dmytro ivanov
b8a0694f0a Hooking libc.so malloc/free/etc into memory tracer on Android
#jira UE-200096
#rb Chris.Babcock, ionut.matasaru

[CL 30376336 by dmytro ivanov in ue5-main branch]
2023-12-18 10:56:29 -05:00
DecoyRS
873e77b496 PR #11109: Specify styles when selecting icons for SourceCodeAccess implementations
#jira UE-200714
#rb aditya.ravichandran, Devin.Doucette

[CL 29935368 by DecoyRS in ue5-main branch]
2023-11-27 11:15:19 -05:00
dmytro ivanov
472be09f89 Enable memory tracing on Android
#jira UE-200096
#rb ionut.matasaru, Johan.Berg

[CL 29637861 by dmytro ivanov in ue5-main branch]
2023-11-10 08:42:29 -05:00
joe kirchoff
14cd6cf583 Create external module for mimalloc and move into versioned directory
[CL 28780083 by joe kirchoff in ue5-main branch]
2023-10-13 19:46:38 -04:00
bryan sefcik
7f041c34a0 Moved the Superluminal defines and includes to being private instead of public because all the code is private in Core.
#jira
#rb devin.doucette
#rnx

[CL 27078697 by bryan sefcik in ue5-main branch]
2023-08-14 14:20:42 -04:00
phil pizlo
2684dff663 Fix WinGDK build by ensuring that Core only depends on libpas on Win64
#rb none

[CL 26812882 by phil pizlo in ue5-main branch]
2023-08-03 11:43:43 -04:00
phil pizlo
0b56d66706 Move libpas out of restricted and make it available as a malloc on Windows.
Testing libpas's perf as a malloc already revealed some useful data about how the allocator performs on Windows (like that reserving and committing memory in separate syscalls is surprisingly expensive). Even if we don't use libpas as a UE malloc, running it in that mode is likely to reveal opportunities for improvement in those parts of libpas that the Verse GC uses.

The biggest change to libpas is introducing the global physical page cache, which is a heap of memory that starts out committed but gets tracked by the large sharing pool - so it will get decommitted after 300ms of nonuse. This means that if you're growing the heap, we allocate committed memory (single syscall to reserve and commit), but we still have a path to decommitting alignment slop. This made a 5-10% difference in VerseTestVMCmd's running time.

Resubmitting after making Core only depend on libpas on Windows (since for now, I only expose libpas as a malloc on Windows).

#rb andriy.tylychko
#rb andrew.scheidecker
#rb danny.couture

[CL 26811655 by phil pizlo in ue5-main branch]
2023-08-03 11:09:40 -04:00
phil pizlo
b0e979bf58 [Backout] - CL26794980
[FYI] phil.pizlo
Original CL Desc
-----------------------------------------------------------------
Move libpas out of restricted and make it available as a malloc on Windows.

Testing libpas's perf as a malloc already revealed some useful data about how the allocator performs on Windows (like that reserving and committing memory in separate syscalls is surprisingly expensive). Even if we don't use libpas as a UE malloc, running it in that mode is likely to reveal opportunities for improvement in those parts of libpas that the Verse GC uses.

The biggest change to libpas is introducing the global physical page cache, which is a heap of memory that starts out committed but gets tracked by the large sharing pool - so it will get decommitted after 300ms of nonuse. This means that if you're growing the heap, we allocate committed memory (single syscall to reserve and commit), but we still have a path to decommitting alignment slop. This made a 5-10% difference in VerseTestVMCmd's running time.

#rb andriy.tylychko
#rb andrew.scheidecker
#rb danny.couture

[CL 26795519 by phil pizlo in ue5-main branch]
2023-08-02 20:39:57 -04:00
phil pizlo
49b3585fa3 Move libpas out of restricted and make it available as a malloc on Windows.
Testing libpas's perf as a malloc already revealed some useful data about how the allocator performs on Windows (like that reserving and committing memory in separate syscalls is surprisingly expensive). Even if we don't use libpas as a UE malloc, running it in that mode is likely to reveal opportunities for improvement in those parts of libpas that the Verse GC uses.

The biggest change to libpas is introducing the global physical page cache, which is a heap of memory that starts out committed but gets tracked by the large sharing pool - so it will get decommitted after 300ms of nonuse. This means that if you're growing the heap, we allocate committed memory (single syscall to reserve and commit), but we still have a path to decommitting alignment slop. This made a 5-10% difference in VerseTestVMCmd's running time.

#rb andriy.tylychko
#rb andrew.scheidecker
#rb danny.couture

[CL 26795044 by phil pizlo in ue5-main branch]
2023-08-02 20:27:51 -04:00
josh adams
82ea6a767a [Backout] - CL26223564
[FYI] keaton.stewart
Original CL Desc
-----------------------------------------------------------------
[Backout] - CL26221679 [Main CIS Issue] Errors in Incremental FortniteServer Linux and Incremental Compile Monolithics - Linux
[FYI] Josh.Adams
Original CL Desc
-----------------------------------------------------------------
- Very super early support for VisionOS (requires Xcode 15 beta2 or later).
- THIS IS NOT USABLE YET - WORK IN PROGRESS!
- It builds, links with IOS libs (warnings, not errors), can cook and it boots in Simulator, but is dying in MetalRHI
- UnrealTargetPlatform.VisionOS is currently defined in Engine code, it is not pulled out like would be correct for a full true platform extension
- Refactored a lot of Build.cs files to use UnrealPlatformGroup.IOS/Apple instead of individual platform checks, to make VisionOS integration simpler
#rb zack.neyland

[CL 26226852 by josh adams in ue5-main branch]
2023-06-24 17:52:48 -04:00
keaton stewart
1fd1a77412 [Backout] - CL26221679 [Main CIS Issue] Errors in Incremental FortniteServer Linux and Incremental Compile Monolithics - Linux
#fyi Josh.Adams
#jira FORT-626566 (edited)
Original CL Desc
-----------------------------------------------------------------
- Very super early support for VisionOS (requires Xcode 15 beta2 or later).
- THIS IS NOT USABLE YET - WORK IN PROGRESS!
- It builds, links with IOS libs (warnings, not errors), can cook and it boots in Simulator, but is dying in MetalRHI
- UnrealTargetPlatform.VisionOS is currently defined in Engine code, it is not pulled out like would be correct for a full true platform extension
- Refactored a lot of Build.cs files to use UnrealPlatformGroup.IOS/Apple instead of individual platform checks, to make VisionOS integration simpler
#rb zack.neyland

[CL 26223564 by keaton stewart in ue5-main branch]
2023-06-23 20:29:27 -04:00
Josh Adams
e25e1b3daf - Very super early support for VisionOS (requires Xcode 15 beta2 or later).
- THIS IS NOT USABLE YET - WORK IN PROGRESS!
- It builds, links with IOS libs (warnings, not errors), can cook and it boots in Simulator, but is dying in MetalRHI
- UnrealTargetPlatform.VisionOS is currently defined in Engine code, it is not pulled out like would be correct for a full true platform extension
- Refactored a lot of Build.cs files to use UnrealPlatformGroup.IOS/Apple instead of individual platform checks, to make VisionOS integration simpler
#rb zack.neyland

[CL 26221679 by Josh Adams in ue5-main branch]
2023-06-23 19:12:47 -04:00
anton dunchev
d4d9104fe9 Unix MemoryTrace implementation
#rb [at]Brandon.Schaefer, [at]Johan.Berg
#tests DS

[CL 25879889 by anton dunchev in ue5-main branch]
2023-06-08 15:46:12 -04:00
brandon schaefer
918a67f6d9 Support enabling AutoRTFM instrumentation on a Module level in UBT
#rb Neil.Henning, Joe.Kirchoff
#preflight 646655bd743f7c995bc7a7ff

[CL 25532181 by brandon schaefer in ue5-main branch]
2023-05-18 15:44:35 -04:00