src/share/vm/gc_implementation/parallelScavenge/vmPSOperations.hpp

changeset 7686
fb69749583e8
parent 4037
da91efe96a93
child 7687
af8f16ac392c
equal deleted inserted replaced
7685:bff23dedb306 7686:fb69749583e8
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.
33 private: 33 private:
34 size_t _size; 34 size_t _size;
35 HeapWord* _result; 35 HeapWord* _result;
36 36
37 public: 37 public:
38 VM_ParallelGCFailedAllocation(size_t size, unsigned int gc_count); 38 VM_ParallelGCFailedAllocation(size_t size, uint gc_count);
39 39
40 virtual VMOp_Type type() const { 40 virtual VMOp_Type type() const {
41 return VMOp_ParallelGCFailedAllocation; 41 return VMOp_ParallelGCFailedAllocation;
42 } 42 }
43 virtual void doit(); 43 virtual void doit();
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

mercurial