Versions Compared

Key

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

...

  1. Do we have to modify the ClassLoaders and therefore keep them thread safe? 
  2. Do we have to modify Java core classes?
  3.  Which JVM implementations (e.g Sun JVM/ Sun Open JVM/ BEA JRockit/ Kaffe) can Javassist instrument or can be used on? (Is Javassist really platform independent?)
  4. What when Javassist does not work on a JVM? 
From Braindumb in IS Advanced

Each thread has a unique number (per JVM) automatically assigned.

    • But threads can and - in fact are - reused. For example thread pools do not instantiate new threads, but instead pass different Runnable instances to the existing threads. Each different runnable is itself a different functionality. Thus the thread ID cannot be safely used for identification