-
Enhancement
-
Resolution: Fixed
-
P4
-
1.1.5, 1.3.1
-
hopper
-
generic
-
generic, solaris_2.5.1
Calling from C to Java is very slow. In the worst case, when no
method block is provided, the calling sequence can (I think) acquire and
release as many as 8+ locks, even if the called method is not even
synchronized. This should also have an impact on salability.
----------------------------------------------------
There seems to be some question how often this acutally happens, so I asked around and found that JavaMedia does this a lot. Here is one comment:
----------
java sound uses callbacks from native code to java pretty
aggressively. it calls back as often as once ever 11
milliseconds for each audio stream being rendered. (we
also have a few much less frequently made callbacks to
signal that audio playback has started or finished, etc.)
since jmf uses java sound for its audio support, this will
affect the performance of jmf as well as java sound on its
own.
--------------
We also found that non-sound related parts of JMF do this often.
steve.wilson@eng 1999-01-08
method block is provided, the calling sequence can (I think) acquire and
release as many as 8+ locks, even if the called method is not even
synchronized. This should also have an impact on salability.
----------------------------------------------------
There seems to be some question how often this acutally happens, so I asked around and found that JavaMedia does this a lot. Here is one comment:
----------
java sound uses callbacks from native code to java pretty
aggressively. it calls back as often as once ever 11
milliseconds for each audio stream being rendered. (we
also have a few much less frequently made callbacks to
signal that audio playback has started or finished, etc.)
since jmf uses java sound for its audio support, this will
affect the performance of jmf as well as java sound on its
own.
--------------
We also found that non-sound related parts of JMF do this often.
steve.wilson@eng 1999-01-08
- relates to
-
JDK-4715177 HotSpot does not throw a NullPointerException
-
- Closed
-
-
JDK-4712880 IMF Test window crashes on Win2000 Pro/zh_TW
-
- Closed
-
-
JDK-4655125 adding method caching in JNIid (4096069) causes bug in invoke, HotSwap, invoke
-
- Resolved
-