< prev index next >

src/share/vm/gc_implementation/shenandoah/shenandoahSharedVariables.hpp

Print this page
rev 10690 : [backport] Cleanup header files and forward declarations
rev 10715 : [backport] Cleanup up superfluous newlines
rev 10772 : [backport] Update copyrights

*** 1,7 **** /* ! * Copyright (c) 2017, Red Hat, Inc. and/or its affiliates. * * 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) 2017, 2018, Red Hat, Inc. All rights reserved. * * 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. *
*** 23,32 **** --- 23,33 ---- #ifndef SHARE_VM_GC_SHENANDOAH_SHENANDOAHSHAREDFLAG_HPP #define SHARE_VM_GC_SHENANDOAH_SHENANDOAHSHAREDFLAG_HPP #include "memory/allocation.hpp" + #include "runtime/orderAccess.hpp" typedef jbyte ShenandoahSharedValue; typedef struct ShenandoahSharedFlag { enum {
*** 195,205 **** bool operator< (ShenandoahSharedFlag& other) { fatal("Use is_set() instead"); return false; } bool operator<=(ShenandoahSharedFlag& other) { fatal("Use is_set() instead"); return false; } } ShenandoahSharedBitmap; - template<class T> struct ShenandoahSharedEnumFlag { char _pad_0[128]; volatile ShenandoahSharedValue value; char _pad_1[128]; --- 196,205 ----
*** 241,247 **** bool operator< (ShenandoahSharedEnumFlag& other) { fatal("Use get() instead"); return false; } bool operator<=(ShenandoahSharedEnumFlag& other) { fatal("Use get() instead"); return false; } }; - #endif // SHARE_VM_GC_SHENANDOAH_SHENANDOAHSHAREDFLAG_HPP --- 241,246 ----
< prev index next >