Closed Bug 1623228 Opened 4 years ago Closed 4 years ago

Implement ProfileBufferChunk

Categories

(Core :: Gecko Profiler, task, P2)

task

Tracking

()

RESOLVED FIXED
mozilla76
Tracking Status
firefox76 --- fixed

People

(Reporter: mozbugz, Assigned: mozbugz)

References

Details

Attachments

(1 file)

ProfileBufferChunk represents a single chunk of memory, with a link to the next chunk.

In the new Fission-compatible profiler storage, chunks will be allocated by a chunk manager, filled with data by the profiler, and then released back to the chunk manager.
The chunk manager may decide to destroy or recycle old chunks based on memory limits (per process, or for the entire Firefox app).

A ProfileBufferChunk represents a single chunk of memory, with an optional
link to the next chunk.

In the new Fission-compatible profiler storage, chunks will be allocated by a
chunk manager, filled with data by the profiler, and then released back to the
chunk manager.
The chunk manager may decide to destroy or recycle old chunks based on memory
limits (per process, or for the entire Firefox app).

Depends on D67241

std::launder is a C++17 function in header <new>: https://en.cppreference.com/w/cpp/utility/launder
Maybe that toolchain is not fully C++17 compatible?

Anyway, I guess we could live without it there...

Flags: needinfo?(gsquelart)
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: