...
This could be used for tracking the method invocations in Java. But the stacks and it's frames not accessible from Java itself and it would be necessary to use an extension library written in C. This is not acceptable, since it would go against the non-functional requirements and make the tracer platform dependent.#
Other approaches
...
Current solution:
Currently the invocation traces is implemented as container, which collects all sensor data starting from an defined start point. This collected data is chronologically ordered, to allow to trace the invocation sequence. But this is not suitable for asynchronous methods.
To make is work with asynchronous methods, each thread gets an unique ID and an continuous number for each method invocation done by this thread. This way each invocation can be associated with its thread.