Mercurial > hg > graal-jvmci-8
annotate src/share/vm/gc_implementation/g1/g1CollectorPolicy_ext.hpp @ 23472:047a642c9729
8065579: WB method to start G1 concurrent mark cycle should be introduced
Summary: Add a WhiteBox callback to the VM to start a concurrent mark cycle in G1.
Reviewed-by: tschatzl, sjohanss
Contributed-by: Leonid Mesnik <leonid.mesnik@oracle.com>
author | kevinw |
---|---|
date | Wed, 02 Dec 2015 13:58:34 +0530 |
parents | b840813adfcc |
children |
rev | line source |
---|---|
20655
b840813adfcc
8065305: Make it possible to extend the G1CollectorPolicy
jwilhelm
parents:
diff
changeset
|
1 /* |
b840813adfcc
8065305: Make it possible to extend the G1CollectorPolicy
jwilhelm
parents:
diff
changeset
|
2 * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. |
b840813adfcc
8065305: Make it possible to extend the G1CollectorPolicy
jwilhelm
parents:
diff
changeset
|
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
b840813adfcc
8065305: Make it possible to extend the G1CollectorPolicy
jwilhelm
parents:
diff
changeset
|
4 * |
b840813adfcc
8065305: Make it possible to extend the G1CollectorPolicy
jwilhelm
parents:
diff
changeset
|
5 * This code is free software; you can redistribute it and/or modify it |
b840813adfcc
8065305: Make it possible to extend the G1CollectorPolicy
jwilhelm
parents:
diff
changeset
|
6 * under the terms of the GNU General Public License version 2 only, as |
b840813adfcc
8065305: Make it possible to extend the G1CollectorPolicy
jwilhelm
parents:
diff
changeset
|
7 * published by the Free Software Foundation. |
b840813adfcc
8065305: Make it possible to extend the G1CollectorPolicy
jwilhelm
parents:
diff
changeset
|
8 * |
b840813adfcc
8065305: Make it possible to extend the G1CollectorPolicy
jwilhelm
parents:
diff
changeset
|
9 * This code is distributed in the hope that it will be useful, but WITHOUT |
b840813adfcc
8065305: Make it possible to extend the G1CollectorPolicy
jwilhelm
parents:
diff
changeset
|
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
b840813adfcc
8065305: Make it possible to extend the G1CollectorPolicy
jwilhelm
parents:
diff
changeset
|
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
b840813adfcc
8065305: Make it possible to extend the G1CollectorPolicy
jwilhelm
parents:
diff
changeset
|
12 * version 2 for more details (a copy is included in the LICENSE file that |
b840813adfcc
8065305: Make it possible to extend the G1CollectorPolicy
jwilhelm
parents:
diff
changeset
|
13 * accompanied this code). |
b840813adfcc
8065305: Make it possible to extend the G1CollectorPolicy
jwilhelm
parents:
diff
changeset
|
14 * |
b840813adfcc
8065305: Make it possible to extend the G1CollectorPolicy
jwilhelm
parents:
diff
changeset
|
15 * You should have received a copy of the GNU General Public License version |
b840813adfcc
8065305: Make it possible to extend the G1CollectorPolicy
jwilhelm
parents:
diff
changeset
|
16 * 2 along with this work; if not, write to the Free Software Foundation, |
b840813adfcc
8065305: Make it possible to extend the G1CollectorPolicy
jwilhelm
parents:
diff
changeset
|
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
b840813adfcc
8065305: Make it possible to extend the G1CollectorPolicy
jwilhelm
parents:
diff
changeset
|
18 * |
b840813adfcc
8065305: Make it possible to extend the G1CollectorPolicy
jwilhelm
parents:
diff
changeset
|
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
b840813adfcc
8065305: Make it possible to extend the G1CollectorPolicy
jwilhelm
parents:
diff
changeset
|
20 * or visit www.oracle.com if you need additional information or have any |
b840813adfcc
8065305: Make it possible to extend the G1CollectorPolicy
jwilhelm
parents:
diff
changeset
|
21 * questions. |
b840813adfcc
8065305: Make it possible to extend the G1CollectorPolicy
jwilhelm
parents:
diff
changeset
|
22 * |
b840813adfcc
8065305: Make it possible to extend the G1CollectorPolicy
jwilhelm
parents:
diff
changeset
|
23 */ |
b840813adfcc
8065305: Make it possible to extend the G1CollectorPolicy
jwilhelm
parents:
diff
changeset
|
24 |
b840813adfcc
8065305: Make it possible to extend the G1CollectorPolicy
jwilhelm
parents:
diff
changeset
|
25 #ifndef SHARE_VM_GC_IMPLEMENTATION_G1_G1COLLECTORPOLICY_EXT_HPP |
b840813adfcc
8065305: Make it possible to extend the G1CollectorPolicy
jwilhelm
parents:
diff
changeset
|
26 #define SHARE_VM_GC_IMPLEMENTATION_G1_G1COLLECTORPOLICY_EXT_HPP |
b840813adfcc
8065305: Make it possible to extend the G1CollectorPolicy
jwilhelm
parents:
diff
changeset
|
27 |
b840813adfcc
8065305: Make it possible to extend the G1CollectorPolicy
jwilhelm
parents:
diff
changeset
|
28 #include "gc_implementation/g1/g1CollectorPolicy.hpp" |
b840813adfcc
8065305: Make it possible to extend the G1CollectorPolicy
jwilhelm
parents:
diff
changeset
|
29 |
b840813adfcc
8065305: Make it possible to extend the G1CollectorPolicy
jwilhelm
parents:
diff
changeset
|
30 class G1CollectorPolicyExt : public G1CollectorPolicy { }; |
b840813adfcc
8065305: Make it possible to extend the G1CollectorPolicy
jwilhelm
parents:
diff
changeset
|
31 |
b840813adfcc
8065305: Make it possible to extend the G1CollectorPolicy
jwilhelm
parents:
diff
changeset
|
32 #endif // SHARE_VM_GC_IMPLEMENTATION_G1_G1COLLECTORPOLICY_EXT_HPP |