Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This page contains the solution approaches that were discussed in the master thesis.

...

See current solution (state).

Method-ID approach

Quote:
"Another possibility to realize the invocation tracer is to add unique identifiers to all available sensors, so that every sensor gets an additional thread Id and a continuous node number in a call tree. This way, the process of building a  complete Context Call Tree is divided in several parts: the sensors provide small pieces of information and some kind of tree builder has to provide a basic functionality to connect the gathered values and build a complete context tree out of this multiple node information."

---->Not sure if i understood it right --->

...

For better understanding see Inner-Thread(IS notes), Implementation Tracing Agent and Runnable Variables approach.

Approach from brain dumb

  • Active pushing of invocation sequence id from one thread to another
    • hard to realize: how do we know that the next method instrumented will be invoked in a new thread
    • at this point in time threadlocal information of the caller is no longer available
    • It would be necessary to extend the method signature of all methods of all classes that inherit Thread / Runnable with an additional information (the invocation sequence) ... still very unclear
  • Alternative would be to use JVM wide identification of the invocation sequence id with the respective thread