New issue
Advanced search Search tips

Issue 919389 link

Starred by 4 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Blink objects should not use malloc

Project Member Reported by haraken@chromium.org, Jan 7

Issue description

As written in this guideline (https://docs.google.com/document/d/1aitSOucL0VHZa9Z2vbRJSyAIsAz24kX8LFByQ5xQnUg/edit#heading=h.ekwf97my4bgf), Blink objects should be allocated on Oilpan or PartitionAlloc. They should not be allocated on malloc.

This means that classes that are not GarbageCollected should have the USING_FAST_MALLOC macro (to allocate the objects on the FastMalloc partition of PartitionAlloc).

We should add USING_FAST_MALLOC on classes where the macro is missing.

Complexity: Easy


 
Status: Available (was: Untriaged)

Sign in to add a comment