< prev index next >

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

Print this page
rev 53824 : imported patch 8219096-merge-termination-stats-logging
rev 53825 : [mq]: 8219096-lkorinth-review

*** 1,7 **** /* ! * Copyright (c) 2014, 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) 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.
*** 104,119 **** delete _closures; FREE_C_HEAP_ARRAY(size_t, _surviving_young_words_base); delete[] _oops_into_optional_regions; } ! size_t G1ParScanThreadState::lab_waste() const { ! return _plab_allocator->waste() * HeapWordSize; } ! size_t G1ParScanThreadState::lab_undo_waste() const { ! return _plab_allocator->undo_waste() * HeapWordSize; } #ifdef ASSERT bool G1ParScanThreadState::verify_ref(narrowOop* ref) const { assert(ref != NULL, "invariant"); --- 104,119 ---- delete _closures; FREE_C_HEAP_ARRAY(size_t, _surviving_young_words_base); delete[] _oops_into_optional_regions; } ! size_t G1ParScanThreadState::lab_waste_words() const { ! return _plab_allocator->waste(); } ! size_t G1ParScanThreadState::lab_undo_waste_words() const { ! return _plab_allocator->undo_waste(); } #ifdef ASSERT bool G1ParScanThreadState::verify_ref(narrowOop* ref) const { assert(ref != NULL, "invariant");
< prev index next >