< prev index next >

src/hotspot/share/gc/g1/g1AllocRegion.cpp

Print this page
rev 56448 : imported patch 8220310.mut.0
rev 56449 : imported patch 8220310.mut.1

*** 1,7 **** /* ! * Copyright (c) 2011, 2018, 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) 2011, 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.
*** 248,268 **** } } #endif // PRODUCT G1AllocRegion::G1AllocRegion(const char* name, ! bool bot_updates) : _alloc_region(NULL), _count(0), _used_bytes_before(0), _bot_updates(bot_updates), ! _name(name) { } HeapRegion* MutatorAllocRegion::allocate_new_region(size_t word_size, bool force) { ! return _g1h->new_mutator_alloc_region(word_size, force); } void MutatorAllocRegion::retire_region(HeapRegion* alloc_region, size_t allocated_bytes) { _g1h->retire_mutator_alloc_region(alloc_region, allocated_bytes); --- 248,270 ---- } } #endif // PRODUCT G1AllocRegion::G1AllocRegion(const char* name, ! bool bot_updates, ! uint node_index) : _alloc_region(NULL), _count(0), _used_bytes_before(0), _bot_updates(bot_updates), ! _name(name), ! _node_index(node_index) { } HeapRegion* MutatorAllocRegion::allocate_new_region(size_t word_size, bool force) { ! return _g1h->new_mutator_alloc_region(word_size, force, _node_index); } void MutatorAllocRegion::retire_region(HeapRegion* alloc_region, size_t allocated_bytes) { _g1h->retire_mutator_alloc_region(alloc_region, allocated_bytes);
< prev index next >