Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • D dynamorio
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,467
    • Issues 1,467
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 44
    • Merge requests 44
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • DynamoRIO
  • dynamorio
  • Issues
  • #1132
Closed
Open
Issue created Nov 28, 2014 by Derek Bruening@derekbrueningContributor

split DR vm reserve into vmheap vs vmcode

From bruen...@google.com on March 25, 2013 12:00:00

split from issue #774 (closed) vmheap = DR heap, non-client-privlib heap, client specified-unreachable heap, special heap for non-code (e.g., signal records)

vmcode = cache, sep stubs, coarse prefixes, gencode, client heap allocated directly by API

Prior work in issue #774 (closed) documented that the only heap that's guaranteed to be reachable from vmcode is heap allocated directly by client API routines. It also added dr_custom_alloc(), allowing a client to specify that its heap does not need to be reachable.

We want to separate out as much heap as possible from the limited-space 2GB reachable region, so we can handle very large apps, or a ton of heap usage from priv libs.

Helps static client too: need vmcode near app, and for large app, much easier w/o vmheap there too.

If vmheap is not in low 4GB, put Linux TLS alloc there (see "where put vm_base" notes)?

Need to implement the -reachable_heap option added earlier.

Original issue: http://code.google.com/p/dynamorio/issues/detail?id=1132

Assignee
Assign to
Time tracking