Open Bug 1945040 Opened 1 year ago Updated 1 year ago

IDB: Further adjust response size calculation in NormalTransactionOp::GetResponse overrides to account for shared memory fallback

Categories

(Core :: Storage: IndexedDB, task, P3)

task

Tracking

()

People

(Reporter: janv, Unassigned)

References

(Blocks 1 open bug)

Details

A previous adjustment (bug 1943951) improved response size calculation in NormalTransactionOp::GetResponse methods, but the current implementation still overestimates the IPC message size when the primary key and index keys exceed IPC::kMessageBufferShmemThreshold and are serialized using shared memory.

While this overestimation is safe, it could lead to unnecessary constraints on message size limits. A more accurate calculation would help optimize IPC message handling without risking message size overruns.

Blocks: 1945043
You need to log in before you can comment on or make changes to this bug.