Open Bug 2028348 Opened 8 months ago Updated 8 months ago

With 8 marking threads, testcase calling WebAssembly.Memory on N modules freezes/deadlocks the tab with no CPU use.

Categories

(Core :: JavaScript: GC, task, P3)

task

Tracking

()

People

(Reporter: mayankleoboy1, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached file wasm test.html —

Increase the number of parallel threads to 8
Open testcase and wait for it to load
Click on compile
Click on Run

AR: On the run button, the tab freezes without any CPU use
ER: Not so

My guess is that with 500000 modules, the system goes into some sort of OOM and prints the errors in the console. With 8 parallel threads, the browser is not able to recover from the OOM and does not print anything in the console.

See Also: → 1973339

this is the partial profile for the default number of marking threads: https://share.firefox.dev/4td47tE

Summary: With 8 marking threads, testcase calling WebAssembly.Memory on N modules freezes the tab with no CPU use. → With 8 marking threads, testcase calling WebAssembly.Memory on N modules freezes/deadlocks the tab with no CPU use.
Blocks: GC.stability
Severity: -- → N/A
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: