src/share/vm/runtime/atomic.cpp

Print this page
rev 6623 : 8048241: Introduce umbrella header os.inline.hpp and clean up includes
Reviewed-by: coleenp, dholmes, lfoltan

*** 1,7 **** /* ! * Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2001, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 21,47 **** * questions. * */ #include "precompiled.hpp" - #include "runtime/atomic.hpp" - #ifdef TARGET_OS_FAMILY_linux - # include "os_linux.inline.hpp" - #endif - #ifdef TARGET_OS_FAMILY_solaris - # include "os_solaris.inline.hpp" - #endif - #ifdef TARGET_OS_FAMILY_windows - # include "os_windows.inline.hpp" - #endif - #ifdef TARGET_OS_FAMILY_aix - # include "os_aix.inline.hpp" - #endif - #ifdef TARGET_OS_FAMILY_bsd - # include "os_bsd.inline.hpp" - #endif - #include "runtime/atomic.inline.hpp" jbyte Atomic::cmpxchg(jbyte exchange_value, volatile jbyte* dest, jbyte compare_value) { assert(sizeof(jbyte) == 1, "assumption."); uintptr_t dest_addr = (uintptr_t)dest; --- 21,30 ----