comparison src/share/vm/gc_implementation/concurrentMarkSweep/vmCMSOperations.hpp @ 22936:fb69749583e8

8072621: Clean up around VM_GC_Operations Reviewed-by: brutisso, jmasa
author mlarsson
date Thu, 09 Apr 2015 15:58:49 +0200
parents a181f3a124dd
children
comparison
equal deleted inserted replaced
22935:bff23dedb306 22936:fb69749583e8
1 /* 1 /*
2 * Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
128 // VM operation to invoke a concurrent collection of the heap as a 128 // VM operation to invoke a concurrent collection of the heap as a
129 // GenCollectedHeap heap. 129 // GenCollectedHeap heap.
130 class VM_GenCollectFullConcurrent: public VM_GC_Operation { 130 class VM_GenCollectFullConcurrent: public VM_GC_Operation {
131 bool _disabled_icms; 131 bool _disabled_icms;
132 public: 132 public:
133 VM_GenCollectFullConcurrent(unsigned int gc_count_before, 133 VM_GenCollectFullConcurrent(uint gc_count_before,
134 unsigned int full_gc_count_before, 134 uint full_gc_count_before,
135 GCCause::Cause gc_cause) 135 GCCause::Cause gc_cause)
136 : VM_GC_Operation(gc_count_before, gc_cause, full_gc_count_before, true /* full */), 136 : VM_GC_Operation(gc_count_before, gc_cause, full_gc_count_before, true /* full */),
137 _disabled_icms(false) 137 _disabled_icms(false)
138 { 138 {
139 assert(FullGCCount_lock != NULL, "Error"); 139 assert(FullGCCount_lock != NULL, "Error");