Versions Compared

Key

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

...

  1.  An asynchronous method invocation has no fixed start and end point. Is possible, that a asynchronous methods is still running after its caller is already finished.
  2. How can i modify the start() method on Threads, to get the information about the Thread creator, caller and executor?
From brain dump

To build up an invocation sequence, each invoked method must know the method that was invoked before it

  • Innerthread communication can simply make use of the ThreadLocal pattern and build a stack of the concrete methods being called
  • Interthread and inter JVM communication has to connect the stacks of the involved threads. This can be done by an invocation identifier that is passed from the caller to the callee. (see previous solution approaches)
    • Invocation identifier must also include the method identification that invoked this call