< prev index next >

src/share/vm/memory/genMarkSweep.hpp

Print this page
rev 8333 : 8077842: Remove the level parameter passed around in GenCollectedHeap
Reviewed-by:

*** 1,7 **** /* ! * Copyright (c) 2001, 2010, 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, 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.
*** 29,49 **** class GenMarkSweep : public MarkSweep { friend class VM_MarkSweep; friend class G1MarkSweep; public: ! static void invoke_at_safepoint(int level, ReferenceProcessor* rp, ! bool clear_all_softrefs); private: // Mark live objects ! static void mark_sweep_phase1(int level, bool clear_all_softrefs); // Calculate new addresses static void mark_sweep_phase2(); // Update pointers ! static void mark_sweep_phase3(int level); // Move objects to new positions static void mark_sweep_phase4(); // Temporary data structures for traversal and storing/restoring marks static void allocate_stacks(); --- 29,48 ---- class GenMarkSweep : public MarkSweep { friend class VM_MarkSweep; friend class G1MarkSweep; public: ! static void invoke_at_safepoint(ReferenceProcessor* rp, bool clear_all_softrefs); private: // Mark live objects ! static void mark_sweep_phase1(bool clear_all_softrefs); // Calculate new addresses static void mark_sweep_phase2(); // Update pointers ! static void mark_sweep_phase3(); // Move objects to new positions static void mark_sweep_phase4(); // Temporary data structures for traversal and storing/restoring marks static void allocate_stacks();
< prev index next >