I found in the process of locking
Java*<file:///E:/project/jit/Harmony/working_vm/vm/thread/doc/ThreadManager.htm#*>monitors,
there is a fast path to acquiring the Java
*<file:///E:/project/jit/Harmony/working_vm/vm/thread/doc/ThreadManager.htm#*>monitor.
In this scenario, the helper does not need to switch between Java
*<file:///E:/project/jit/Harmony/working_vm/vm/thread/doc/ThreadManager.htm#*>and
native frames. Otherwise, the helper code enters a slow path by
switching between
Java*<file:///E:/project/jit/Harmony/working_vm/vm/thread/doc/ThreadManager.htm#*>and
native code.
I do not know why to do this. and what is  the difference between
them? Could anyone give some directions?

Thanks,
Chengrong

Reply via email to