1 /* |
1 /* |
2 * Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2007, 2010, 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. |
20 * or visit www.oracle.com if you need additional information or have any |
20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. |
21 * questions. |
22 * |
22 * |
23 */ |
23 */ |
24 |
24 |
25 # include "incls/_precompiled.incl" |
25 #include "precompiled.hpp" |
26 # include "incls/_vmPSOperations.cpp.incl" |
26 #include "gc_implementation/parallelScavenge/parallelScavengeHeap.inline.hpp" |
|
27 #include "gc_implementation/parallelScavenge/psMarkSweep.hpp" |
|
28 #include "gc_implementation/parallelScavenge/psScavenge.hpp" |
|
29 #include "gc_implementation/parallelScavenge/psScavenge.inline.hpp" |
|
30 #include "gc_implementation/parallelScavenge/vmPSOperations.hpp" |
|
31 #include "memory/gcLocker.inline.hpp" |
|
32 #include "utilities/dtrace.hpp" |
27 |
33 |
28 // The following methods are used by the parallel scavenge collector |
34 // The following methods are used by the parallel scavenge collector |
29 VM_ParallelGCFailedAllocation::VM_ParallelGCFailedAllocation(size_t size, |
35 VM_ParallelGCFailedAllocation::VM_ParallelGCFailedAllocation(size_t size, |
30 bool is_tlab, unsigned int gc_count) : |
36 bool is_tlab, unsigned int gc_count) : |
31 VM_GC_Operation(gc_count), |
37 VM_GC_Operation(gc_count), |