Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.hpp @ 4913:ab4422d0ed59
7146343: PS invoke methods should indicate the type of gc done
Reviewed-by: stefank, jmasa
author | jcoomes |
---|---|
date | Thu, 16 Feb 2012 13:12:25 -0800 |
parents | 7913e93dca52 |
children | da91efe96a93 |
comparison
equal
deleted
inserted
replaced
4912:a9647476d1a4 | 4913:ab4422d0ed59 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2005, 2012, 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. |
1055 static ParallelScavengeHeap* gc_heap() { | 1055 static ParallelScavengeHeap* gc_heap() { |
1056 return (ParallelScavengeHeap*)Universe::heap(); | 1056 return (ParallelScavengeHeap*)Universe::heap(); |
1057 } | 1057 } |
1058 | 1058 |
1059 static void invoke(bool maximum_heap_compaction); | 1059 static void invoke(bool maximum_heap_compaction); |
1060 static void invoke_no_policy(bool maximum_heap_compaction); | 1060 static bool invoke_no_policy(bool maximum_heap_compaction); |
1061 | 1061 |
1062 static void post_initialize(); | 1062 static void post_initialize(); |
1063 // Perform initialization for PSParallelCompact that requires | 1063 // Perform initialization for PSParallelCompact that requires |
1064 // allocations. This should be called during the VM initialization | 1064 // allocations. This should be called during the VM initialization |
1065 // at a pointer where it would be appropriate to return a JNI_ENOMEM | 1065 // at a pointer where it would be appropriate to return a JNI_ENOMEM |