Commit 4116e19
src: start heap object tracking after platform is initialized
Garbage collection is triggered by the heap object tracker. The garbage
collector may spawn garbage collection tasks on the foreground thread.
This is only allowed after registering the isolate in the platform
which happens in IsolateData. This CL moves the starting of the heap
object tracker after calling IsolateData to ensure that.
PR-URL: #17249
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-by: Michael Lippautz <mlippautz@chromium.org>1 parent 6529076 commit 4116e19
1 file changed
+3
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4887 | 4887 | | |
4888 | 4888 | | |
4889 | 4889 | | |
4890 | | - | |
4891 | | - | |
4892 | | - | |
4893 | | - | |
4894 | 4890 | | |
4895 | 4891 | | |
4896 | 4892 | | |
| |||
4907 | 4903 | | |
4908 | 4904 | | |
4909 | 4905 | | |
| 4906 | + | |
| 4907 | + | |
| 4908 | + | |
4910 | 4909 | | |
4911 | 4910 | | |
4912 | 4911 | | |
| |||
0 commit comments