For example, I instrument a method foo which is implemented in a certain way so that only 1 thread at the time will call it.
If I instrument foo with onMethodEnter and onMethodExit, will onMethodExit always finish before the next onMethodEnter is called? Or can it be that even though foo is synchronized, that an onMethodEnter might be called before onMethodExit is finished executing?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.