Skip to content

Commit e223a4f

Browse files
committed
Greatly increase the amount of private storage in a task.
It's already nearly full, and there's plenty of stuff we're not tracking properly yet.
1 parent f0977ac commit e223a4f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/swift/ABI/MetadataValues.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ enum {
4848
NumWords_DefaultActor = 12,
4949

5050
/// The number of words in a task.
51-
NumWords_AsyncTask = 16,
51+
NumWords_AsyncTask = 24,
5252

5353
/// The number of words in a task group.
5454
NumWords_TaskGroup = 32,

include/swift/ABI/Task.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ class AsyncTask : public Job {
203203

204204
/// Private storage for the use of the runtime.
205205
struct alignas(2 * alignof(void*)) OpaquePrivateStorage {
206-
void *Storage[6];
206+
void *Storage[14];
207207

208208
/// Initialize this storage during the creation of a task.
209209
void initialize(AsyncTask *task);

0 commit comments

Comments
 (0)