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

changeset 2971
c9ca3f51cf41
parent 2314
f95d63e2154a
child 4037
da91efe96a93
equal deleted inserted replaced
2970:5130fa1b24f1 2971:c9ca3f51cf41
1 /* 1 /*
2 * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2007, 2011, 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.
30 #include "gc_interface/gcCause.hpp" 30 #include "gc_interface/gcCause.hpp"
31 31
32 class VM_ParallelGCFailedAllocation: public VM_GC_Operation { 32 class VM_ParallelGCFailedAllocation: public VM_GC_Operation {
33 private: 33 private:
34 size_t _size; 34 size_t _size;
35 bool _is_tlab;
36 HeapWord* _result; 35 HeapWord* _result;
37 36
38 public: 37 public:
39 VM_ParallelGCFailedAllocation(size_t size, bool is_tlab, 38 VM_ParallelGCFailedAllocation(size_t size, unsigned int gc_count);
40 unsigned int gc_count);
41 39
42 virtual VMOp_Type type() const { 40 virtual VMOp_Type type() const {
43 return VMOp_ParallelGCFailedAllocation; 41 return VMOp_ParallelGCFailedAllocation;
44 } 42 }
45 virtual void doit(); 43 virtual void doit();

mercurial