Closed Bug 1225452 Opened 9 years ago Closed 3 years ago

Make shared-memory guard hoistable

Categories

(Core :: JavaScript Engine: JIT, defect, P3)

defect

Tracking

()

RESOLVED INVALID

People

(Reporter: lth, Unassigned)

References

(Blocks 1 open bug)

Details

Bug 1176214 introduces a run-time guard on atomic operations that checks that the TypedArray is mapping shared memory.  Bug 1225025 attempts to remove that guard through type inference.

But if the guard is left in the code, it should be possible to hoist it out of loops to the same extent as range checking, more or less: whether a TypedArray has shared memory or not is a static aspect of the object, it never changes.
Priority: -- → P3
Blocks: 1317626
No longer blocks: shared-array-buffer

No longer valid after bug 1630706. (MGuardSharedTypedArray has been removed.)

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.