diff options
author | Lukas Larsson <[email protected]> | 2016-03-30 10:22:28 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2016-04-15 15:08:52 +0200 |
commit | a1b352dfc68d501a385240cdb7f45a96cf9e3358 (patch) | |
tree | ec4f90a6141470eddcf6a43742695e135a8334c9 /erts/emulator | |
parent | b4e236a15bb5065facc3b1dee6da936cea5b8ac9 (diff) | |
download | otp-a1b352dfc68d501a385240cdb7f45a96cf9e3358.tar.gz otp-a1b352dfc68d501a385240cdb7f45a96cf9e3358.tar.bz2 otp-a1b352dfc68d501a385240cdb7f45a96cf9e3358.zip |
erts: Add comment about future trace optimizations
Diffstat (limited to 'erts/emulator')
-rw-r--r-- | erts/emulator/beam/erl_trace.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_trace.c b/erts/emulator/beam/erl_trace.c index 3027e34968..cd3c14e213 100644 --- a/erts/emulator/beam/erl_trace.c +++ b/erts/emulator/beam/erl_trace.c @@ -20,6 +20,19 @@ /* * Support functions for tracing. + * + * Ideas for future speed improvements in tracing framework: + * * Move ErtsTracerNif into ErtsTracer + * + Removes need for locking + * + Removes hash lookup overhead + * + Use a refc on the ErtsTracerNif to know when it can + * be freed. We don't want to allocate a separate + * ErtsTracerNif for each module used. + * * Optimize GenericBp for cache locality by reusing equivalent + * GenericBp and GenericBpData in multiple tracer points. + * + Possibly we want to use specialized instructions for different + * types of trace so that the knowledge of which struct is used + * can be in the instruction. */ #ifdef HAVE_CONFIG_H |