DynamoRIO / DynamoRIO/dynamorio

make umbra thread-shared for improved scalability

Open
#775 0 comments 0 reactions 0 assignees View on GitHub
Component-API Migrated Priority-Medium Type-Feature
Dominant language
C
Stars
3.2k
Forks
629
Avg merge
2d 15h
Merged PRs (30d)
31

Description

_From [bruen...@google.com](https://code.google.com/u/109494838902877177630/) on May 16, 2012 13:01:27_

want per-thread "unicache" b/c different threads use same code to access
different data

perhaps a combination w/ adaptive scheme to figure out where per-thread
uni-cache is needed. we can start with thread-shared uni-cache. later if
one static instruction keeps accessing different unit, we will allocate a
TLS slot for it for thread-private uni-cache.

on linux can have tons of TLS slots.
but harder on windows: how find enough slots?
stealing a register is one solution.
it's even possible it's faster than using TLS b/c that goes through slow decoder
and expands instruction size.

_Original issue: http://code.google.com/p/dynamorio/issues/detail?id=775_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.