< prev index next >

src/share/vm/gc/g1/heapRegionType.hpp

Print this page
rev 8362 : [mq]: hotspot

*** 1,7 **** /* ! * Copyright (c) 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. --- 1,7 ---- /* ! * Copyright (c) 2014, 2015, 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,31 **** * or visit www.oracle.com if you need additional information or have any * questions. * */ ! #ifndef SHARE_VM_GC_IMPLEMENTATION_G1_HEAPREGIONTYPE_HPP ! #define SHARE_VM_GC_IMPLEMENTATION_G1_HEAPREGIONTYPE_HPP #include "memory/allocation.hpp" #define hrt_assert_is_valid(tag) \ assert(is_valid((tag)), err_msg("invalid HR type: %u", (uint) (tag))) --- 20,31 ---- * or visit www.oracle.com if you need additional information or have any * questions. * */ ! #ifndef SHARE_VM_GC_G1_HEAPREGIONTYPE_HPP ! #define SHARE_VM_GC_G1_HEAPREGIONTYPE_HPP #include "memory/allocation.hpp" #define hrt_assert_is_valid(tag) \ assert(is_valid((tag)), err_msg("invalid HR type: %u", (uint) (tag)))
*** 129,134 **** const char* get_short_str() const; HeapRegionType() : _tag(FreeTag) { hrt_assert_is_valid(_tag); } }; ! #endif // SHARE_VM_GC_IMPLEMENTATION_G1_HEAPREGIONTYPE_HPP --- 129,134 ---- const char* get_short_str() const; HeapRegionType() : _tag(FreeTag) { hrt_assert_is_valid(_tag); } }; ! #endif // SHARE_VM_GC_G1_HEAPREGIONTYPE_HPP
< prev index next >