src/share/vm/gc/shared/plab.hpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2001, 2016, 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.
*** 195,205 **** // Calculates plab size for current number of gc worker threads. size_t desired_plab_sz(uint no_of_gc_workers); // Updates the current desired PLAB size. Computes the new desired PLAB size with one gc worker thread, // updates _desired_plab_sz and clears sensor accumulators. ! virtual void adjust_desired_plab_sz(); inline void add_allocated(size_t v); inline void add_unused(size_t v); --- 195,207 ---- // Calculates plab size for current number of gc worker threads. size_t desired_plab_sz(uint no_of_gc_workers); // Updates the current desired PLAB size. Computes the new desired PLAB size with one gc worker thread, // updates _desired_plab_sz and clears sensor accumulators. ! void adjust_desired_plab_sz(); ! // helper for adjust_desired_plab_sz(). ! virtual size_t adjust_desired_plab_sz_helper(); inline void add_allocated(size_t v); inline void add_unused(size_t v);