< prev index next >

src/hotspot/share/gc/g1/g1HeapRegionAttr.hpp

Print this page
rev 59383 : [mq]: final

*** 1,7 **** /* ! * Copyright (c) 2014, 2019, 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, 2020, 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.
*** 30,48 **** // Per-region attributes often used during garbage collection to avoid costly // lookups for that information all over the place. struct G1HeapRegionAttr { public: - // We use different types to represent the state value depending on platform as - // some have issues loading parts of words. - #ifdef SPARC - typedef int32_t region_type_t; - typedef uint32_t needs_remset_update_t; - #else typedef int8_t region_type_t; typedef uint8_t needs_remset_update_t; - #endif private: needs_remset_update_t _needs_remset_update; region_type_t _type; --- 30,41 ----
< prev index next >