--- old/src/share/vm/runtime/atomic.cpp 2014-09-11 23:19:49.000000000 +0200 +++ new/src/share/vm/runtime/atomic.cpp 2014-09-11 23:19:49.000000000 +0200 @@ -25,6 +25,7 @@ #include "precompiled.hpp" #include "runtime/atomic.inline.hpp" +#ifndef X86 jbyte Atomic::cmpxchg(jbyte exchange_value, volatile jbyte* dest, jbyte compare_value) { assert(sizeof(jbyte) == 1, "assumption."); uintptr_t dest_addr = (uintptr_t)dest; @@ -44,6 +45,7 @@ } return cur_as_bytes[offset]; } +#endif unsigned Atomic::xchg(unsigned int exchange_value, volatile unsigned int* dest) { assert(sizeof(unsigned int) == sizeof(jint), "more work to do");