< prev index next >

src/hotspot/share/gc/parallel/psMarkSweep.cpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2001, 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) 2001, 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.
*** 70,80 **** SpanSubjectToDiscoveryClosure PSMarkSweep::_span_based_discoverer; void PSMarkSweep::initialize() { _span_based_discoverer.set_span(ParallelScavengeHeap::heap()->reserved_region()); set_ref_processor(new ReferenceProcessor(&_span_based_discoverer)); // a vanilla ref proc ! _counters = new CollectorCounters("PSMarkSweep", 1); MarkSweep::initialize(); } // This method contains all heap specific policy for invoking mark sweep. // PSMarkSweep::invoke_no_policy() will only attempt to mark-sweep-compact --- 70,80 ---- SpanSubjectToDiscoveryClosure PSMarkSweep::_span_based_discoverer; void PSMarkSweep::initialize() { _span_based_discoverer.set_span(ParallelScavengeHeap::heap()->reserved_region()); set_ref_processor(new ReferenceProcessor(&_span_based_discoverer)); // a vanilla ref proc ! _counters = new CollectorCounters("Serial full collection pauses", 1); MarkSweep::initialize(); } // This method contains all heap specific policy for invoking mark sweep. // PSMarkSweep::invoke_no_policy() will only attempt to mark-sweep-compact
< prev index next >