equal
deleted
inserted
replaced
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. |
127 |
127 |
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 public: |
131 public: |
132 VM_GenCollectFullConcurrent(unsigned int gc_count_before, |
132 VM_GenCollectFullConcurrent(uint gc_count_before, |
133 unsigned int full_gc_count_before, |
133 uint full_gc_count_before, |
134 GCCause::Cause gc_cause) |
134 GCCause::Cause gc_cause) |
135 : VM_GC_Operation(gc_count_before, gc_cause, full_gc_count_before, true /* full */) |
135 : VM_GC_Operation(gc_count_before, gc_cause, full_gc_count_before, true /* full */) |
136 { |
136 { |
137 assert(FullGCCount_lock != NULL, "Error"); |
137 assert(FullGCCount_lock != NULL, "Error"); |
138 assert(UseAsyncConcMarkSweepGC, "Else will hang caller"); |
138 assert(UseAsyncConcMarkSweepGC, "Else will hang caller"); |