Commit Graph

181 Commits

Author SHA1 Message Date
Ryan Hummer
4af2fd066d Updating Dev-Release-5.5 from Main at CL #36144969
#okforversepublic

[CL 36146571 by Ryan Hummer in Dev-5.5 branch]
2024-09-10 10:26:02 -04:00
patrick boutot
2ab3477797 Add test for gsl::not_null. Add simple utilities to hash, serialize and optional. Add conversion to/from TNotNullPtr.
Didn't add it to TNonNullPtr<TObjectPtr<>> on purpose. TObjectPtr is to track reference and gsl::not_null should only be used with UObject for argument and temporary variables.
#jira UE-220767
#rb Yoan.StAmant

[CL 35963956 by patrick boutot in ue5-main branch]
2024-09-03 07:20:18 -04:00
patrick boutot
d5073db040 [Backout] - CL35933311
[FYI] Patrick.Boutot
Original CL Desc
-----------------------------------------------------------------
Add test for gsl::not_null. Add simple utilities to hash, serialize and optional. Add conversion to/from TNotNullPtr.
Didn't add it to TNonNullPtr<TObjectPtr<>> on purpose. TObjectPtr is to track reference and gsl::not_null should only be used with UObject for argument and temporary variables.
#jira UE-220767
#rb Yoan.StAmant

[CL 35934442 by patrick boutot in ue5-main branch]
2024-08-30 15:26:26 -04:00
patrick boutot
4efd3340b7 Add test for gsl::not_null. Add simple utilities to hash, serialize and optional. Add conversion to/from TNotNullPtr.
Didn't add it to TNonNullPtr<TObjectPtr<>> on purpose. TObjectPtr is to track reference and gsl::not_null should only be used with UObject for argument and temporary variables.
#jira UE-220767
#rb Yoan.StAmant

[CL 35933319 by patrick boutot in ue5-main branch]
2024-08-30 14:41:51 -04:00
florin pascu
0425b192d3 Move MB3 IOS setting to project specific location
[CL 35140950 by florin pascu in ue5-main branch]
2024-07-29 11:30:58 -04:00
jack porter
01e9ae681d Memory insights for iOS - capture callstacks and report modules
#rb Florin.Pascu, anton.dunchev, ionut.matasaru, adam.kinge

[CL 35133315 by jack porter in ue5-main branch]
2024-07-29 06:09:13 -04:00
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