Java
- Synchronization
- Synchronized Methods
- First, it is not possible for two invocations of synchronized methods on the same object to interleave. When one thread is executing a synchronized method for an object, all other threads that invoke synchronized methods for the same object block (suspend execution) until the first thread is done with the object.
- Second, when a synchronized method exits, it automatically establishes a happens-before relationship with any subsequent invocation of a synchronized method for the same object. This guarantees that changes to the state of the object are visible to all threads.
- JNI
- Best practices for using the Java Native Interface
- 使用Java Native Interface 的最佳实践 (一)、(二)
- 建立C函式庫及使用JNI寫程式
- J2ME
- CDC(Connected Device Configuration)
- Classical javaVM
- CLDC(Connected, Limited Device Configuration)
- KVM
- Installation
sudo apt-get update
sudo apt-get install sun-java6-jdk sun-java6-plugin
sudo update-java-alternatives -s java-6-sun
page revision: 39, last edited: 23 Jan 2014 02:44