Robert Manuszewski
299920bf38
Adding prefixes to GC and Streaming console commands to make them more discoverable. Also added a few placeholder commands to suppress warnings on startup.
...
Console commands affected:
s.AsyncIOBandwidthLimit
s.MinBulkDataSizeForAsyncLoading
s.AsyncLoadingThreadEnabled
s.WarnIfTimeLimitExceeded
s.TimeLimitExceededMultiplier
s.TimeLimitExceededMinTime
s.UseBackgroundLevelStreaming
s.PriorityAsyncLoadingExtraTime
s.LevelStreamingActorsUpdateTimeLimit
s.LevelStreamingComponentsRegistrationGranularity
gc.MaxObjectsNotConsideredByGC
gc.SizeOfPermanentObjectPool
gc.FlushStreamingOnGC
gc.NumRetriesBeforeForcingGC
gc.AllowParallelGC
gc.TimeBetweenPurgingPendingKillObjects
gc.CollectGarbageEveryFrame
gc.StressTestGC
New console variables:
s.UseBackgroundLevelStreaming
s.AsyncLoadingTimeLimit
s.AsyncLoadingUseFullTimeLimit
s.PriorityAsyncLoadingExtraTime
s.LevelStreamingActorsUpdateTimeLimit
s.LevelStreamingComponentsRegistrationGranularity
[CL 2596909 by Robert Manuszewski in Main branch]
2015-06-23 08:18:32 -04:00
Robert Manuszewski
13b8c2f953
When queueing new async packages, also look for existing packages in loaded packages to process.
...
Added UPackage member to FPackageAsync to track both linker and the package.
Made sure async packages get deleted when cancelling async loading
[CL 2590490 by Robert Manuszewski in Main branch]
2015-06-17 14:01:54 -04:00
Robert Manuszewski
65fb0ff95e
Deferred linker load delete to fix potential crashes when code attempts to access linkers that have already been deleted earlier in the callstack
...
[CL 2589115 by Robert Manuszewski in Main branch]
2015-06-16 15:08:39 -04:00
Robert Manuszewski
bc0c225c8d
Deprecated FAsyncPackage Type as it was not used by anything.
...
[CL 2587642 by Robert Manuszewski in Main branch]
2015-06-15 14:26:23 -04:00
Robert Manuszewski
87d48ff51c
Making FLinkerLoad aware of FAsyncPackage association
...
[CL 2587214 by Robert Manuszewski in Main branch]
2015-06-15 06:15:31 -04:00
Robert Manuszewski
e1888e87da
AsyncLoading: Making sure DeferredFinalizeObjects are always referenced by GC until streaming has finished
...
[CL 2585861 by Robert Manuszewski in Main branch]
2015-06-12 12:14:42 -04:00
Robert Manuszewski
9c7da1b48d
Adding a console variable for TimeBetweenPurgingPendingKillObjects.
...
[CL 2585365 by Robert Manuszewski in Main branch]
2015-06-12 01:06:55 -04:00
Robert Manuszewski
03d52bf437
Backing out bad merge (CL #2584863 )
...
#codereview John.Abercrombie
[CL 2585363 by Robert Manuszewski in Main branch]
2015-06-12 01:05:55 -04:00
Bob Tellez
e2b5909354
[AUTOMERGE]
...
#UE4 Avoiding a potential crash with a deleted linker
--------
Integrated using branch Ue4-To-UE4-Fortnite-Simple (reversed) of change#2584966 by Bob.Tellez on 2015/06/11 17:20:30.
[CL 2585067 by Bob Tellez in Main branch]
2015-06-11 18:05:29 -04:00
John Abercrombie
0bacc967eb
Merging using UE4-Fortnite-To-UE4 @ CL 2578109
...
[CL 2584863 by John Abercrombie in Main branch]
2015-06-11 16:25:03 -04:00
Robert Manuszewski
8b1c79d515
Exposing more package streaming and garbage collection settings to project settings in the editor.
...
Also, added new console variables for the existing settings:
New Package Streaming console variables:
- WarnIfTimeLimitExceeded
- TimeLimitExceededMultiplier
- TimeLimitExceededMinTime
- MinBulkDataSizeForAsyncLoading
- AsyncIOBandwidthLimit
New GC console variables:
- FlushStreamingOnGC
- NumRetriesBeforeForcingGC
[CL 2584216 by Robert Manuszewski in Main branch]
2015-06-11 10:42:18 -04:00
Robert Manuszewski
b0e692d87c
Adding more configurable settings to time limit exceeded warning when async loading
...
[CL 2582558 by Robert Manuszewski in Main branch]
2015-06-10 09:07:24 -04:00
Robert Manuszewski
b61c99b409
Removing mutex lock from FAsyncObjectsReferencer::AddReferencedObjects
...
[CL 2577166 by Robert Manuszewski in Main branch]
2015-06-04 12:30:19 -04:00
Robert Manuszewski
575274152b
Reverting bad merge
...
#codereview Eric.Newman
[CL 2574179 by Robert Manuszewski in Main branch]
2015-06-02 13:53:47 -04:00
Eric Newman
f3569dae41
Fortnite dev to main merge up to cl # 2564489
...
Merging using UE4-Fortnite-To-UE4
[CL 2573959 by Eric Newman in Main branch]
2015-06-02 11:44:27 -04:00
Ankit Khare
33c3980a7d
fix for UE-16290, strategy game hang on launch on for #html5
...
- IO was getting starved in single threaded mode.
#codereview Robert.Manuszewsk, josh.adams
[CL 2570830 by Ankit Khare in Main branch]
2015-05-29 14:25:12 -04:00
Robert Manuszewski
aafae9e410
AsyncLoading: removing redundant code
...
[CL 2570465 by Robert Manuszewski in Main branch]
2015-05-29 10:11:57 -04:00
Robert Manuszewski
7b6068257e
Changing verbosity of some async loading logs.
...
[CL 2568625 by Robert Manuszewski in Main branch]
2015-05-28 11:22:35 -04:00
Robert Manuszewski
eed7377de0
Support for suspending async loading.
...
- Async loading will now be suspended when render thread is suspended. This fixes a rare crash on startup.
- Fixed an infinite loading screen in situation when a package hasn't finished loading but was in a queue to be finalized on the game thread and something requested it to load again.
[CL 2566673 by Robert Manuszewski in Main branch]
2015-05-27 11:02:10 -04:00
Robert Manuszewski
21f1fc7a63
Fixing loading objects synchronously from PostLoad while streaming
...
[CL 2564336 by Robert Manuszewski in Main branch]
2015-05-25 15:03:58 -04:00
Steve Robb
948bd2add4
Return value fixes for FObjectAndNameAsStringProxyArchive::operator<< and FNameAsStringProxyArchive::operator<<.
...
#codereview robert.manuszewski
[CL 2559755 by Steve Robb in Main branch]
2015-05-20 17:38:19 -04:00
Marc Audy
9b92cfbe23
UE-15552 - Fix async package loading for seamless travel not setting PKG_PlayInEditor resulting in failure to clean up the map on area transition/end PIE
...
Fix bug in simplified AsyncLoadPackage where priority was used as flags
Clean up some parameters and properties to be clear that they are PackageFlags, not LoadFlags
#codereview Robert.Manuszewski
[CL 2557438 by Marc Audy in Main branch]
2015-05-19 14:31:27 -04:00
Saul Abreu
67ba19783b
Implemented gathering of text localization data at serialization-saving time for packages, serializing the localization data into the package header, and loading it from the package header without fully loading the package when gathering text from assets.
...
[CL 2553534 by Saul Abreu in Main branch]
2015-05-15 17:00:32 -04:00
Robert Manuszewski
93c6bfd265
Fix for objects not having RF_AsyncLoading flag cleared in non-cooked builds before triggering async loading callbacks
...
[CL 2553492 by Robert Manuszewski in Main branch]
2015-05-15 16:38:15 -04:00
Robert Manuszewski
1f78fbb163
[INTEGRATE] Change 2552532 by Robert.Manuszewski@Robert_Manuszewski_Raptor1 on 2015-05-15 09:14
...
Fixing crash on startup introduced in CL #2550790 , and networking code failures due to linker being destroyed before async callbacks got triggered
[CL 2552542 by Robert Manuszewski in Main branch]
2015-05-15 09:17:32 -04:00