Closed Bug 1727428 Opened 3 years ago Closed 3 years ago

Cell::chunk() returns a TenuredChunk* even if not tenured

Categories

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

defect

Tracking

()

RESOLVED FIXED
93 Branch
Tracking Status
firefox93 --- fixed

People

(Reporter: sfink, Assigned: sfink)

Details

Attachments

(1 file)

I just happened to be tracing through some code, and found it confusing that cell->storeBuffer() calls chunk()->storeBuffer, and chunk() returns a TenuredChunk*. Given that the storeBuffer field actually lives on ChunkBase, there seemed to be no reason for the incorrect type.

Summary: Cell::chunk() returned a TenuredChunk* even if not tenured → Cell::chunk() returns a TenuredChunk* even if not tenured
Attachment #9237848 - Attachment description: Bug 1727428 - Cell::chunk() returned a TenuredChunk* even if not tenured → Bug 1727428 - Cell::chunk() returns a TenuredChunk* even if not tenured
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 93 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: