The VM needs to be changed to support the new features of JSR-166. While most of
the changes are in the library, the following VM changes are needed:
* Support for new methods in sun.misc.Unsafe for volatile field access.
* Support for new methods in sun.misc.Unsafe to provide atomic compare-and-swap operations
* Suport for a new method java.lang.System.nanoTime() for high-resolution timing
* Changes to both Compiler1 and Compiler2 to handle the new methods as intrinsics.
* Changes to improve the memory barriers generated for volatile memory accesses.
- duplicates
-
JDK-4679944 memory barrier instructions emitted for "volatile" keyword way too heavy on IA32
-
- Closed
-
-
JDK-4709717 Implement AtomicInt and AtomicObject like AtomicLong
-
- Closed
-
-
JDK-4709727 TryLocks
-
- Closed
-
-
JDK-4709728 ConditionVariables
-
- Closed
-
-
JDK-4709732 currentTimeNanos
-
- Closed
-
-
JDK-4899545 Server compiler emits redundant membar-volatile instructions
-
- Closed
-
- relates to
-
JDK-4912876 JVM_NanoTime not exported on Linux
-
- Closed
-
(1 duplicates, 1 relates to)