src/share/vm/memory/genRemSet.inline.hpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2001, 2008, 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, 2010, 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.
*** 20,29 **** --- 20,32 ---- * or visit www.oracle.com if you need additional information or have any * questions. * */ + #ifndef SHARE_VM_MEMORY_GENREMSET_INLINE_HPP + #define SHARE_VM_MEMORY_GENREMSET_INLINE_HPP + // Inline functions of GenRemSet, which de-virtualize this // performance-critical call when when the rem set is the most common // card-table kind. void GenRemSet::write_ref_field_gc(void* field, oop new_val) {
*** 31,35 **** --- 34,40 ---- ((CardTableRS*)this)->inline_write_ref_field_gc(field, new_val); } else { write_ref_field_gc_work(field, new_val); } } + + #endif // SHARE_VM_MEMORY_GENREMSET_INLINE_HPP