harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "史成荣" <icyr...@gmail.com>
Subject [harmony][Thread]
Date Tue, 18 Dec 2007 02:54:41 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message