7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #include "precompiled.hpp"
26 #include "compiler/compileBroker.hpp"
27 #include "gc_implementation/shared/gcTimer.hpp"
28 #include "gc_implementation/shared/gcTrace.hpp"
29 #include "gc_implementation/shared/markSweep.inline.hpp"
30 #include "gc_interface/collectedHeap.inline.hpp"
31 #include "oops/instanceKlass.inline.hpp"
32 #include "oops/instanceMirrorKlass.inline.hpp"
33 #include "oops/methodData.hpp"
34 #include "oops/objArrayKlass.inline.hpp"
35 #include "oops/oop.inline.hpp"
36
37 uint MarkSweep::_total_invocations = 0;
38
39 Stack<oop, mtGC> MarkSweep::_marking_stack;
40 Stack<ObjArrayTask, mtGC> MarkSweep::_objarray_stack;
41
42 Stack<oop, mtGC> MarkSweep::_preserved_oop_stack;
43 Stack<markOop, mtGC> MarkSweep::_preserved_mark_stack;
44 size_t MarkSweep::_preserved_count = 0;
45 size_t MarkSweep::_preserved_count_max = 0;
46 PreservedMark* MarkSweep::_preserved_marks = NULL;
47 ReferenceProcessor* MarkSweep::_ref_processor = NULL;
48 STWGCTimer* MarkSweep::_gc_timer = NULL;
49 SerialOldTracer* MarkSweep::_gc_tracer = NULL;
50
|
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #include "precompiled.hpp"
26 #include "compiler/compileBroker.hpp"
27 #include "gc/serial/markSweep.inline.hpp"
28 #include "gc/shared/collectedHeap.inline.hpp"
29 #include "gc/shared/gcTimer.hpp"
30 #include "gc/shared/gcTrace.hpp"
31 #include "oops/instanceKlass.inline.hpp"
32 #include "oops/instanceMirrorKlass.inline.hpp"
33 #include "oops/methodData.hpp"
34 #include "oops/objArrayKlass.inline.hpp"
35 #include "oops/oop.inline.hpp"
36
37 uint MarkSweep::_total_invocations = 0;
38
39 Stack<oop, mtGC> MarkSweep::_marking_stack;
40 Stack<ObjArrayTask, mtGC> MarkSweep::_objarray_stack;
41
42 Stack<oop, mtGC> MarkSweep::_preserved_oop_stack;
43 Stack<markOop, mtGC> MarkSweep::_preserved_mark_stack;
44 size_t MarkSweep::_preserved_count = 0;
45 size_t MarkSweep::_preserved_count_max = 0;
46 PreservedMark* MarkSweep::_preserved_marks = NULL;
47 ReferenceProcessor* MarkSweep::_ref_processor = NULL;
48 STWGCTimer* MarkSweep::_gc_timer = NULL;
49 SerialOldTracer* MarkSweep::_gc_tracer = NULL;
50
|