Closed Bug 628256 Opened 14 years ago Closed 6 years ago

Make VM use mmfx macros uniformly, avoid using FixedMalloc directly

Categories

(Tamarin Graveyard :: Virtual Machine, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX
Q1 12 - Brannan

People

(Reporter: treilly, Unassigned)

References

Details

In order to respect the definition of MMGC_USE_SYSTEM_MALLOC we can't use FixedMalloc directly anywhere we should be using the mmfx macros. Two patches are required here, one to add calloc support to mmfx macros and another to fix the list classes and the byte array glue to use the mmfx macros.
Probably also want to support allocating base-size-plus-extra, popular for variable-length trailing arrays in structures that have some fixed payload fields up front.
Flags: flashplayer-bug-
Priority: P2 → P3
Depends on: 647971
So far as I can tell only the ListData structure uses FixedMalloc directly, unless there are uses of some global new operator that I can't see. (Shouldn't be - not in the VM.) The item to create mmfx macros for calloc-style allocation has been broken out as bug #647971, this bug is now only about fixing the VM built-ins.
Component: Garbage Collection (mmGC) → Virtual Machine
Priority: P3 → --
QA Contact: gc → vm
Summary: Make VM use mmfx macros and expand them to support calloc → Make VM use mmfx macros uniformly, avoid using FixedMalloc directly
Target Milestone: Q3 11 - Serrano → ---
Priority: -- → P3
Target Milestone: --- → Q1 12 - Brannan
Flags: flashplayer-qrb+
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.