--- old/src/hotspot/share/gc/g1/g1ParScanThreadState.cpp 2019-02-20 10:41:18.483042897 +0100 +++ new/src/hotspot/share/gc/g1/g1ParScanThreadState.cpp 2019-02-20 10:41:18.222034924 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -106,12 +106,12 @@ delete[] _oops_into_optional_regions; } -size_t G1ParScanThreadState::lab_waste() const { - return _plab_allocator->waste() * HeapWordSize; +size_t G1ParScanThreadState::lab_waste_words() const { + return _plab_allocator->waste(); } -size_t G1ParScanThreadState::lab_undo_waste() const { - return _plab_allocator->undo_waste() * HeapWordSize; +size_t G1ParScanThreadState::lab_undo_waste_words() const { + return _plab_allocator->undo_waste(); } #ifdef ASSERT