< prev index next >

src/hotspot/share/gc/shared/generationSpec.hpp

Print this page
rev 47957 : 8191564: Refactor GC related servicability code into GC specific subclasses

*** 1,7 **** /* ! * Copyright (c) 2001, 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. --- 1,7 ---- /* ! * Copyright (c) 2001, 2017, 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.
*** 44,54 **** _name(name), _init_size(align_up(init_size, alignment)), _max_size(align_up(max_size, alignment)) { } ! Generation* init(ReservedSpace rs, CardTableRS* remset); // Accessors Generation::Name name() const { return _name; } size_t init_size() const { return _init_size; } void set_init_size(size_t size) { _init_size = size; } --- 44,54 ---- _name(name), _init_size(align_up(init_size, alignment)), _max_size(align_up(max_size, alignment)) { } ! Generation* init(ReservedSpace rs, CardTableRS* remset, GCMemoryManager* mem_mgr); // Accessors Generation::Name name() const { return _name; } size_t init_size() const { return _init_size; } void set_init_size(size_t size) { _init_size = size; }
< prev index next >