Versions Compared

Key

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

...

There is no need to instrument classes with the class loader method anymore.

Threads

A created Java object Thread performs execution if the start() method is called, the method run() starts execution in the current thread, so no concurrency of the creator and the instantiated thread is achieved. Only the start() method is producing a new system thread, which is then calling the run()method of the runnable to execute.

The thread object is created, but no execution is started until the method start() is The system thread is created, when the method start() in the thread object is called. That means, that there is no concurrency involved, since the run() method is only called by the new system thread.

Three points of interest are essential on threads:

...