jemalloc / jemalloc/jemalloc

Stop using procfs on FreeBSD.

Open
#62 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

portability
Dominant language
C
Stars
11.2k
Forks
1.6k
Avg merge
4d 8h
Merged PRs (30d)
13

Description

procfs is being deprecated on FreeBSD, so instead use e.g. kinfo_getvmmap(3) instead for heap profile dumping. See comment on bf543df20ccd9e2c422751908cabf073bc7f5d4b for additional information.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the heap profile dumping implementation and the comment on commit bf543df20ccd9e2c422751908cabf073bc7f5d4b. Investigate how procfs is used on FreeBSD and how kinfo_getvmmap(3) can provide the needed mapping information. Done means FreeBSD heap profile dumping no longer depends on procfs.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
operating-systems, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.