1 /* |
1 /* |
2 * Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2007, 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. |
45 HeapWord* result() const { return _result; } |
45 HeapWord* result() const { return _result; } |
46 }; |
46 }; |
47 |
47 |
48 class VM_ParallelGCSystemGC: public VM_GC_Operation { |
48 class VM_ParallelGCSystemGC: public VM_GC_Operation { |
49 public: |
49 public: |
50 VM_ParallelGCSystemGC(unsigned int gc_count, unsigned int full_gc_count, |
50 VM_ParallelGCSystemGC(uint gc_count, uint full_gc_count, GCCause::Cause gc_cause); |
51 GCCause::Cause gc_cause); |
|
52 virtual VMOp_Type type() const { return VMOp_ParallelGCSystemGC; } |
51 virtual VMOp_Type type() const { return VMOp_ParallelGCSystemGC; } |
53 virtual void doit(); |
52 virtual void doit(); |
54 }; |
53 }; |
55 |
54 |
56 #endif // SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_VMPSOPERATIONS_HPP |
55 #endif // SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_VMPSOPERATIONS_HPP |